review_and_fix
Reviews code, automatically edits files to fix verified findings, and reruns requested checks after each edit until clean or the round limit is reached.
Instructions
Run up to three review rounds and automatically edit files to fix verified findings, rerunning requested checks after each edit. Executes shell checks with user permissions. Stops on incomplete review, failed checks, or round limit. This changes project files.
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": {
"cwd": "<cwd>"
},
"name": "review_and_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | ||
| base | No | HEAD | |
| mode | No | standard | |
| intent | No | ||
| maxRounds | No | ||
| autoChecks | No | ||
| checkCommands | No |