execute_tool
Validate permissions and execute a tool on a downstream MCP server via the gateway, receiving the server's response directly.
Instructions
Execute a tool on a downstream MCP server accessed through this gateway. Gateway validates permissions then forwards your request to the server. Returns the server's response directly.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "execute_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Your agent identifier (leave empty if not provided to you) | |
| server | No | Server name from list_servers | |
| tool | No | Tool name from get_server_tools | |
| args | No | Arguments matching tool's inputSchema | |
| timeout_ms | No | Execution timeout in milliseconds |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||