Expand description
Config format …
Structs§
- Direct
Tool Def - Definition for a tool to be registered as a direct
AgentTool(Phase 3). - Json
RpcError - JSON-RPC error object.
- Json
RpcNotification - JSON-RPC 2.0 notification (no response expected).
- Json
RpcRequest - JSON-RPC 2.0 request.
- McpCall
Result - Result of an MCP tool call.
- McpConfig
- Root MCP configuration.
- McpDashboard
Data - The full structured snapshot consumed by the TUI dashboard (Phase 2).
- McpServer
Info - One server’s information for the TUI dashboard (Phase 2).
- McpSettings
- Global MCP settings.
- McpSettings
View - Settings summary for the dashboard header.
- McpTool
Def - Tool definition discovered from an MCP server.
- McpTool
Info - One tool’s information for the TUI dashboard (Phase 2).
- OAuth
Config - OAuth2 client credentials configuration for an MCP server.
- RawJson
RpcMessage - Raw JSON-RPC message (can be request, response, or notification).
- Resource
Content - Embedded resource returned by an MCP server.
- Server
Entry - MCP server configuration entry.
- Server
Info - Server info returned from the MCP
initializehandshake. - Tool
Metadata - Cached tool metadata with server association and naming.
Enums§
- Consent
State - MCP consent state.
- Direct
Tools Config - Configuration for direct tool registration (Phase 3).
- Lifecycle
Mode - Server lifecycle modes.
- McpConnection
Status - Connection status of an MCP server (Phase 2).
- McpContent
- Content types returned by MCP tool calls.
- Server
Status - Connection status of an MCP server.
- Tool
Prefix - Tool name prefix strategy.
Functions§
- effective_
prefix_ mode - Get the effective prefix mode from settings (defaults to Server).
- format_
schema - Format a JSON Schema into a human-readable string.
- format_
tool_ name - Format a tool name with server prefix.
- get_
server_ prefix - Get the prefix string for a server name.