get_failure_debug_context
Build a debug pack for a failing node: failure fingerprint, run history, dependency graph, hotspots, source snippet, and fix checklist.
Instructions
Build an AI-ready debug pack: failure fingerprint, run history, local dependency graph, related hotspots, source snippet, and fix checklist.
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": {
"project_name": "<project_name>",
"node_id": "<node_id>"
},
"name": "get_failure_debug_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | Yes | Name of the analyzed project. | |
| node_id | Yes | ID of the failing node. | |
| error_message | No | Optional current error message override. | |
| radius | No | Dependency context radius around the node. | |
| max_historical | No | Maximum historical fix hints to include. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||