vscode_open_file
Opens a file in VS Code and brings it into view; optionally jumps to a line/column or highlights a range for targeted navigation.
Instructions
Open a file in VS Code, bring it into view, and optionally jump to a line/column or highlight a selection range.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"Path": "<Path>"
},
"name": "vscode_open_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Path | Yes | Absolute file path (Local or Remote-SSH POSIX path). | |
| EndLine | No | 1-indexed end line for selection. | |
| Preview | No | Open as preview tab (default false). | |
| EndColumn | No | 1-indexed end column for selection. | |
| StartLine | No | 1-indexed start line. | |
| StartColumn | No | 1-indexed start column. |