IContextBuilder
Fluent context builder returned by Context(...) mappings.
Supports context-level metadata while keeping standard mapping operations available.
- Kind:
Interface - Namespace: Repl
- Assembly:
Repl.Core - Source: src/Repl.Core/IContextBuilder.cs
Signature
Section titled “Signature”public interface IContextBuilder : IReplMapMethods
Section titled “Methods”Hidden(bool)
Section titled “Hidden(bool)”Marks a context as hidden or visible in discovery surfaces. Hidden contexts remain routable when addressed explicitly.
IContextBuilder Hidden(bool isHidden = true)Parameters
Section titled “Parameters”isHidden(bool): True to hide the context from discovery output.
Returns
Section titled “Returns”IContextBuilder - The same context builder.
WithDetails(string)
Section titled “WithDetails(string)”Sets a rich markdown description for the context. Used for agent tool descriptions and documentation export.
IContextBuilder WithDetails(string markdown)Parameters
Section titled “Parameters”markdown(string): Markdown content.
Returns
Section titled “Returns”IContextBuilder - The same context builder.