ollie/data/tools/lsp_definition.meta

28 lines
738 B
Plaintext

{
"description": "Go to definition of symbol at position.",
"prompt": "## lsp_definition\n\nGo to definition of symbol at position.\n\n**Args**: `[path, line, col]`\n\n```\nlsp_definition(path=\"/abs/path.go\", line=\"42\", col=\"10\")\n```\n\n**Returns**: `file:line:col` location(s).",
"args": {
"type": "object",
"required": [
"path",
"line",
"col"
],
"properties": {
"path": {
"type": "string",
"description": "Absolute file path"
},
"line": {
"type": "string",
"description": "Line number (1-indexed)"
},
"col": {
"type": "string",
"description": "Column number (1-indexed)"
}
}
},
"readOnly": true
}