find_and_fix
Search for code patterns across files, analyze matches, and apply fixes automatically or with suggestions to resolve repeated issues.
Instructions
Search -> analyze -> suggest/apply fixes for repeated patterns across files.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Pattern to search for (supports regex) | |
| intent | Yes | What change/fix should be applied? | |
| root | No | Root directory to limit search (optional) | |
| maxFiles | No | Maximum files to process (default: 10) | |
| apply | No | Apply fixes automatically (default: false) | |
| minConfidence | No | Minimum confidence to apply fixes (default: high) |