Skip to main content

Module mcp_tool

Module mcp_tool 

Source
Expand description

MCP tool wrapper — exposes MCP server tools as AgentTool implementations.

MCP tools from external servers (via the Model Context Protocol) are wrapped to implement the AgentTool trait. The full tool name is namespaced as mcp:{server_name}:{tool_name} to avoid collisions with Tier 1-2 tools.

Structs§

McpToolWrapper
Wraps an MCP tool from a specific server as an AgentTool.