invoke_tool
Run a tool found by discover_tools. Large results are stored server-side and returned as a compact ref envelope (ref_id + preview); page through them with fetch_ref. Same auth rules as calling the tool directly (gateway key, BYOK).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tool_uid": "<tool_uid>"
},
"name": "invoke_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_uid | Yes | tool_uid from discover_tools, e.g. 'weather__get_forecast'. | |
| arguments | No | Arguments for the tool. |