Run Tool
run_toolExecute a named Check Payroll API tool with arguments after finding its schema via search_tools; failed or oversized calls return structured errors and alternatives.
Instructions
Execute an API tool by name with the given arguments.
Use search_tools first to find the tool name and its parameter schema. A failed call returns a tool error whose message is a JSON object with "error" and, for Check API failures, "status_code" and "detail". A report that times out or is too large also lists "alternatives" to call instead and "hints".
tool_name: The exact tool name (e.g. "list_companies", "get_employee"). arguments: Tool arguments as a JSON string or dict (e.g. '{"company_id": "com_xxx"}' or {"company_id": "com_xxx"}).
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_name": "<tool_name>"
},
"name": "run_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | No | ||
| tool_name | Yes |