remove_symbol
Remove a symbol from a file by first previewing changes and then confirming with a token to apply.
Instructions
Remove a symbol from file. Phase 1: returns diff + token. Phase 2: confirm with token to apply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to file | |
| projectRoot | Yes | Project root (REQUIRED) | |
| symbolName | Yes | Symbol to remove | |
| className | No | Class name (optional) | |
| force | No | Skip dependency check | |
| confirm | No | Set true to apply a pending operation | |
| confirmationToken | No | Token from Phase 1 dry-run |