sqo_code_search
Search code and symbols by identifier or natural-language query to return top-K relevant functions/classes with exact file and line coordinates, reducing token use versus grep and full-file reads.
Instructions
Instant SQLite FTS5 BM25 code & symbol chunk search. Returns top-K relevant functions/classes with exact file:Lstart-Lend coordinates in <250 tokens (90%+ savings vs grep + full reads).
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": {
"workspace": "<workspace>",
"query": "<query>"
},
"name": "sqo_code_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Identifier, symbol, or natural-language code query. | |
| top_k | No | Number of top chunks to return (default: 6). | |
| workspace | Yes | Absolute path to the workspace root directory. |