mcp
此内容尚不支持你的语言。
Tools of MCP servers (Model Context Protocol, streamable HTTP): list them and call them from programs.
- Layer: base (optional: only where a configuration enables it)
- Needs: mcp
- Requires: –
- Conflicts with: –
- Never dropped: no
- Mixin:
skills.mcp:McpTools - Manifest:
skills/mcp/skill.toml
Functions
Section titled “Functions”mcp_tools
Section titled “mcp_tools”def mcp_tools()Every tool of the agent’s MCP servers: [{“name”, “server”, “description”, “input_schema”}], by the name mcp_call takes. The tools of a server that does not answer are missing; when no server answers, McpError says why.
mcp_call
Section titled “mcp_call”def mcp_call(tool, /, **arguments)Call tool (a name from mcp_tools()) with keyword arguments as its input;
returns its structured result, or its text. A tool error raises McpError.
What the model reads
Section titled “What the model reads”From the RoboDojo prompt pack (prompts/robodojo/), with every skill and feature on (mcp in place of ):
mcp_tools() every tool: name, server, description, input_schema mcp_call(tool, **arguments) call one by its name; returns its structured result, or its text