debug_with
Debug an error by choosing an AI agent and supplying the error message, code, and context to identify the root cause.
Instructions
Debug an error using a specific agent. Provide the error and optional code context.
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": {
"agent": "<agent>",
"error": "<error>"
},
"name": "debug_with"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Relevant code context | |
| agent | Yes | Agent to debug with | |
| error | Yes | Error message or description | |
| context | No | Additional context (stack trace, logs, etc.) | |
| timeout | No | Timeout in ms |