lsp_definition
Jump to a symbol's definition in Scheme code by providing file path, line, and character. Returns the exact location (file URI, line, column) to resolve references across files.
Instructions
Go to Definition: jump to where the symbol is defined.
Like pressing F12 in an IDE. Returns file URI, line, and column.
Confidence: HIGH. Reliable for locating definitions across files.
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_path": "<file_path>",
"line": "<line>",
"character": "<character>"
},
"name": "lsp_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| character | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||