call_endpoint
Execute an endpoint and return compact LLM-ready output (-80% context tokens).
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": {
"endpoint_id": "<endpoint_id>"
},
"name": "call_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | compact | |
| params | No | ||
| endpoint_id | Yes | ||
| max_cost_usd | No | Per-call USD ceiling |