vscode_open_file
Opens an absolute file path in VS Code at a 1-based line so the user can see the exact code location.
Instructions
Open a file in VS Code at a line so the user can see it.
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": {
"file": "<file>"
},
"name": "vscode_open_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute file path | |
| line | No | 1-based line |