getCompletions
Retrieve autocomplete suggestions for a file at a specific line and column, with optional filtering by prefix and support for virtual files.
Instructions
Get autocomplete suggestions at a position
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | No | Column number (1-indexed), overrides :col in file | |
| file | Yes | File path with optional :line:col suffix (e.g., "src/user.ts:10:5") | |
| line | No | Line number (1-indexed), overrides :line in file | |
| prefix | No | Filter completions starting with this prefix | |
| content | No | File content for virtual/unsaved files | |
| maxResults | No | Maximum number of results | |
| projectRoot | No | Project root directory (auto-detected if omitted) |