applyCodeAction
Apply a specific code action to a selected range in a file. Use getCodeActions first to obtain available actions.
Instructions
Apply code action by title. Use getCodeActions first to see options.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Workspace or absolute path | |
| startLine | Yes | Start line (1-based) | |
| startColumn | Yes | Start column (1-based) | |
| endLine | Yes | End line (1-based) | |
| endColumn | Yes | End column (1-based) | |
| actionTitle | Yes | Exact action title from getCodeActions output |