Call Tool
apibase.tools.callCall one tool found with apibase.discover: tool_id is its tool id or MCP name, arguments is the object its input schema (apibase.describe) asks for. The price is the price of that tool, paid, challenged and settled exactly as a direct call of it; the wrapper itself is free (APIbase)
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_id": "<tool_id>"
},
"name": "apibase.tools.call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_id | Yes | Tool id or MCP name of the tool to call, as returned by apibase.discover (e.g. "apibase.discover" or "apibase.discovery.search") | |
| arguments | No | JSON object with the arguments of that tool, as its input schema defines them (apibase.describe returns the schema). Use {} for a tool without arguments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |