fix_module
Auto-correct module issues including naming, imports, and exports by specifying a module path and optional fixes; preview changes with dry-run mode.
Instructions
Auto-fix common module issues like naming conventions, imports, and exports
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": {
"modulePath": "<modulePath>"
},
"name": "fix_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fixes | No | Specific fixes to apply (optional, applies all by default) | |
| dryRun | No | Preview changes without applying (default: true) | |
| modulePath | Yes | Path to module directory |