mcp.tools
The tools of a workspace’s remote MCP server, listed by the daemon itself, no thread needed (PRT-434).
Params: McpToolsParams
Section titled “Params: McpToolsParams”export type McpToolsParams = { /** The server's name in the workspace's MCP config. */ server: string; workspaceId: string;};Result: McpTools
Section titled “Result: McpTools”/** `mcp.tools` result (PRT-434): every tool the server lists, in its order. */export type McpTools = { server: string; tools: McpTool[]; workspaceId: string;};Types they use
Section titled “Types they use”/** One tool of an MCP server, as its `tools/list` describes it. */export type McpTool = { /** Hints such as `readOnlyHint` or `destructiveHint`, as the server sends them. */ annotations?: unknown; description?: string | null; /** The JSON Schema of the tool's `arguments`. */ inputSchema: unknown; name: string; /** The JSON Schema of the tool's `structuredContent`, when the server declares one. */ outputSchema?: unknown; title?: string | null;};