improve_code
Improve code by fixing bugs, adding features, or refactoring through natural language instructions.
Instructions
Use Aider to improve code quality, fix bugs, or implement features
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": {
"instruction": "<instruction>"
},
"name": "improve_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | List of files to work on | |
| model | No | AI model to use (default: gemini/gemini-1.5-pro-latest) | gemini/gemini-1.5-pro-latest |
| auto_commit | No | Automatically commit changes (default: True) | |
| instruction | Yes | What to improve or implement | |
| project_path | No | Absolute path to project directory (default: current directory) | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |