Skip to main content

Module types

Module types 

Source
Expand description

Config format …

Structs§

DirectToolDef
Definition for a tool to be registered as a direct AgentTool (Phase 3).
JsonRpcError
JSON-RPC error object.
JsonRpcNotification
JSON-RPC 2.0 notification (no response expected).
JsonRpcRequest
JSON-RPC 2.0 request.
McpCallResult
Result of an MCP tool call.
McpConfig
Root MCP configuration.
McpDashboardData
The full structured snapshot consumed by the TUI dashboard (Phase 2).
McpServerInfo
One server’s information for the TUI dashboard (Phase 2).
McpSettings
Global MCP settings.
McpSettingsView
Settings summary for the dashboard header.
McpToolDef
Tool definition discovered from an MCP server.
McpToolInfo
One tool’s information for the TUI dashboard (Phase 2).
OAuthConfig
OAuth2 client credentials configuration for an MCP server.
RawJsonRpcMessage
Raw JSON-RPC message (can be request, response, or notification).
ResourceContent
Embedded resource returned by an MCP server.
ServerEntry
MCP server configuration entry.
ServerInfo
Server info returned from the MCP initialize handshake.
ToolMetadata
Cached tool metadata with server association and naming.

Enums§

ConsentState
MCP consent state.
DirectToolsConfig
Configuration for direct tool registration (Phase 3).
LifecycleMode
Server lifecycle modes.
McpConnectionStatus
Connection status of an MCP server (Phase 2).
McpContent
Content types returned by MCP tool calls.
ServerStatus
Connection status of an MCP server.
ToolPrefix
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.