ollie/data/tools/lsp_symbols.meta

22 lines
693 B
Plaintext

{
"description": "List symbols in a file, or search workspace-wide.",
"prompt": "## lsp_symbols\n\nList symbols in a file, or search workspace-wide.\n\n**Args**: `[path]` or `[query, \"--workspace\"]`\n\n```\nlsp_symbols(path=\"/abs/path.go\")\nlsp_symbols(path=\"MyFunc\", workspace=\"--workspace\")\n```",
"args": {
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Absolute file path, or search query if workspace=true"
},
"workspace": {
"type": "boolean",
"description": "Search entire workspace instead of single file"
}
}
},
"scope": "read"
}