Apply safe codemods
apply_safe_codemodsApply deterministic local codemods to safely upgrade JavaScript and TypeScript projects, with a dry-run mode for previewing changes.
Instructions
Run deterministic, local codemods that are explicitly allowed by the v1 safety model.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "apply_safe_codemods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | dry-run | |
| rootPath | No | ||
| codemodIds | No |