gateway.invoke
Invoke tools on downstream MCP servers with argument validation and automatic output truncation to reduce context bloat.
Instructions
Invoke a tool on a downstream MCP server. Arguments are validated against the tool schema before execution. Output is automatically truncated if too large.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | ||
| tool_id | Yes | The tool ID in format "server_name::tool_name" | |
| arguments | No | Arguments to pass to the tool (must match tool schema) |