get_code_fixes
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).
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
diagnosticId | string | ✓ | Diagnostic ID (e.g., 'CA1822', 'CS0168') |
filePath | string | ✓ | Full path to the source file |
line | int | ✓ | Line number where the diagnostic occurs |
limit | int? | Maximum number of items to return (default: 100). Items are sorted by title. |