search_docs
Search indexed documentation sections by full-text query or code symbol name to retrieve relevant sections with headings, source, line numbers, and excerpts.
Instructions
Search indexed documentation sections by full-text query or by code symbol name. Returns matching SECTION nodes with heading, source document, kind (readme/adr/guide/…), line number, relevance score, and a short content excerpt. Run index_docs first to populate the index.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Full-text search query (cannot be combined with symbol) | |
| symbol | No | Symbol name to look up (finds Sections that document this function/class/file via DOC_DESCRIBES edges) | |
| limit | No | Maximum number of results to return | |
| projectId | No | Project ID (defaults to active session context) |