get_code_actions
List available code actions and refactorings at a cursor position in a C# file. Specify a range to enable extract-method style refactorings.
Instructions
List available code actions (refactorings and fixes) at a position in a C# file. Optionally specify endLine/endColumn to select a range for extract-method style refactorings. Returns action titles that can be passed to apply_code_action. Returns an envelope with items sorted by kind then title, totalCount, truncated, and limit (default 100).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Line number (1-based) | |
| limit | No | Maximum number of items to return (default: 100). Items are sorted by kind then title. | |
| column | Yes | Column number (1-based) | |
| endLine | No | End line for text selection (1-based, optional) | |
| filePath | Yes | Full path to the C# source file | |
| endColumn | No | End column for text selection (1-based, optional) |