get_code_fixes
Retrieve available code fixes for a specific diagnostic by providing diagnostic ID, file path, and line number. Returns structured edits that can be reviewed and applied.
Instructions
Get available code fixes for a specific diagnostic at a file location. Returns structured text edits that can be reviewed and applied. Returns an envelope with items sorted by title, totalCount, truncated, and limit (default 100).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Line number where the diagnostic occurs | |
| limit | No | Maximum number of items to return (default: 100). Items are sorted by title. | |
| filePath | Yes | Full path to the source file | |
| diagnosticId | Yes | Diagnostic ID (e.g., 'CA1822', 'CS0168') |