DocsCommonmcpMCPToolInfo
Package: @hexos/common

Metadata for a tool discovered from an MCP server.

Contains the tool name, optional description, and its JSON Schema input definition. Retrieved by MCPManager during server initialization and cached for reuse.

Related: MCPServerConfig configures the server, ToolDefinition is the runtime-native equivalent.

interface MCPToolInfo {
    name: string;
    description?: string;
    inputSchema: unknown;
}

name

string

description

string

inputSchema

unknown