debugbar_fix_issue
Analyze a specific issue from a DebugBar request, read the implicated PHP source file, and return the exact problematic code with a concrete fix.
Instructions
Analyze a specific issue (exception, N+1, slow query) from a DebugBar request, read the implicated PHP source file, and return the exact problematic code with a concrete fix. This is the primary tool for AI-driven bug fixing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "debugbar_fix_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Request ID. Uses most recent if omitted. | |
| issue_index | No | Issue number from debugbar_analyze output (1-based). Default: 1 (most critical) |