fix_bug
Resolves bugs in your codebase by analyzing descriptions, optional error messages, and relevant files to apply appropriate code changes.
Instructions
Fix a bug using Aider
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": {
"bug_description": "<bug_description>"
},
"name": "fix_bug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Files that may contain the bug | |
| project_path | No | Absolute path to project directory (default: current directory) | . |
| error_message | No | Error message if available | |
| bug_description | Yes | Description of the bug to fix |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |