get_completions
Retrieve context-aware code completion suggestions at any file position to discover available variables, functions, and object properties.
Instructions
Get completion suggestions at a specific location in a file. Use this tool to retrieve code completion options based on the current context, including variable names, function calls, object properties, and more. Helpful for code assistance and auto-completion at a particular location. Use this when determining which functions you have available in a given package, for example when changing libraries. Requires the file to be opened first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Line number | |
| column | Yes | Column position | |
| file_path | Yes | Path to the file | |
| language_id | Yes | The programming language the file is written in |