Completion Info
completionInfoGet autocomplete suggestions for a specific code location, showing available symbols, methods, and properties with their details.
Instructions
Get autocomplete suggestions at a position. Returns all possible completions with their kinds, sort text, and insert text. Useful for understanding what symbols, methods, or properties are available at a specific location in code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path (absolute or relative to cwd) | |
| line | Yes | 1-based line number | |
| offset | Yes | 1-based column offset | |
| prefix | No | Optional prefix to filter completions | |
| triggerCharacter | No | Character that triggered completion (e.g., '.', '"', "'", '`', '/', '@', '<', '#', ' ') |