Get VS Code editor selection
get_selectionRetrieve the active file's name, path, and current selection line ranges from VS Code. Uses 1-based numbering to give coding agents precise editor context.
Instructions
Returns the name and path of the file open in VS Code's active editor along with the line range(s) of the current selection(s). Line and character numbers are 1-based.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||