28 lines
733 B
Plaintext
28 lines
733 B
Plaintext
{
|
|
"description": "Completion candidates at cursor position.",
|
|
"prompt": "## lsp_completion\n\nCompletion candidates at cursor position.\n\n**Args**: `[path, line, col]`\n\n```\nlsp_completion(path=\"/abs/path.go\", line=\"42\", col=\"10\")\n```\n\n**Returns**: up to 20 candidates.",
|
|
"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)"
|
|
}
|
|
}
|
|
},
|
|
"scope": "read"
|
|
}
|