search_docs
Search a local documentation knowledge base using keywords to return matching sections with file paths, line ranges, headings, and snippets, avoiding grep or reading whole files.
Instructions
Full-text search over the local documentation knowledge base. Returns the best-matching sections with file path, line range, heading breadcrumb and a snippet. Prefer this over grepping or reading whole files: pass 3-6 distinctive keywords rather than a full sentence. Wrap a phrase in double quotes for an exact match.
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": {
"query": "<query>"
},
"name": "search_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max sections (default 5). | |
| query | Yes | Keywords to search for. |