prepare_tool_call
WHEN TO CALL: right before invoking an external MCP tool, or right after a schema or validation error from one. One round-trip returns its live verdict and recommendation, a known-good input shape (recipe), and live alternatives if it is down or risky. Accepts a server or tool name, package or repo; the exact id is not required.
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": {
"toolId": "<toolId>"
},
"name": "prepare_tool_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | Optional coarse task tag to tailor the recipe/alternatives. | |
| toolId | Yes | Server or tool: a short name ('playwright', 'github/create_issue'), package, repo slug, URL or exact id. |