vscode_get_editor_state
Get live VS Code editor state for AI context: active file path (Local or Remote-SSH), cursor line/column, selected text, open tabs, and workspace folders; optionally return all open windows.
Instructions
Get live VS Code state: active file path (Local or Remote-SSH), cursor line/column, currently highlighted/selected text, open tabs, and workspace folders.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "vscode_get_editor_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| AllWindows | No | If true, returns all open VS Code windows in addition to the active/latest window. |