Expand description
The mcp_router tool: connects to allowlisted MCP servers at runtime to discover and invoke
their tools.
Structs§
- Make
McpRouter Options - Options for
make_mcp_router(MakeMcpRouterOptions). - Make
McpRouter Options Builder - Use builder syntax to set the inputs and finish with
build(). - McpRouter
Input - The input of the
mcp_routertool (McpRouterInput). - McpRouter
Tool Error - An
mcp_routeroperation failed (McpRouterToolError).
Enums§
- McpRouter
Command - An
mcp_routeroperation.
Constants§
- MCP_
ROUTER_ DESCRIPTION - The description of the
mcp_routertool shown to the model (MCP_ROUTER_DESCRIPTION).
Functions§
- make_
mcp_ router - Creates an
mcp_routertool bound to an allowlist of servers.