execute_tool
Execute tools on downstream MCP servers through gateway validation and forwarding. Access specific server tools with proper arguments while maintaining permission controls and timeout management.
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.
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 |
Input Schema (JSON Schema)
{
"properties": {
"agent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your agent identifier (leave empty if not provided to you)"
},
"args": {
"additionalProperties": true,
"default": {},
"description": "Arguments matching tool's inputSchema",
"type": "object"
},
"server": {
"default": "",
"description": "Server name from list_servers",
"type": "string"
},
"timeout_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Execution timeout in milliseconds"
},
"tool": {
"default": "",
"description": "Tool name from get_server_tools",
"type": "string"
}
},
"type": "object"
}