goto_definition
Jump to the exact file and location where a symbol is defined. Provide a file path, line, and column to resolve the definition instantly.
Instructions
Go to the definition of a symbol at the given position. Returns the file and location where the symbol is defined.
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>",
"col": "<col>"
},
"name": "goto_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | Yes | Column number (1-indexed) | |
| file | Yes | Relative file path from project root | |
| line | Yes | Line number (1-indexed) |