vscode_go_to_definition
Find where a symbol is defined in a file by giving its path, line, and column. Returns the definition location for navigation.
Instructions
Definition location of the symbol at a position.
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>",
"line": "<line>",
"character": "<character>"
},
"name": "vscode_go_to_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute file path | |
| line | Yes | 1-based line | |
| character | Yes | 1-based column |