Skip to content

Loading search…

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
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.

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.

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