Skip to content

IContextBuilder

Fluent context builder returned by Context(...) mappings. Supports context-level metadata while keeping standard mapping operations available.

public interface IContextBuilder : IReplMap

Marks a context as hidden or visible in discovery surfaces. Hidden contexts remain routable when addressed explicitly.

IContextBuilder Hidden(bool isHidden = true)
  • isHidden (bool): True to hide the context from discovery output.

IContextBuilder - The same context builder.

Sets a rich markdown description for the context. Used for agent tool descriptions and documentation export.

IContextBuilder WithDetails(string markdown)
  • markdown (string): Markdown content.

IContextBuilder - The same context builder.