Search Docs
search_docsSearch installed local library documentation by keyword or semantic query to return matching page metadata and snippets; filter by library and version, then use get_doc for full content.
Instructions
Search installed documentation locally and return matching page metadata with snippets. Use get_doc to read full page content. This tool never fetches from the network. If a requested library/version is not installed, it returns NOT_INSTALLED.
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 |
|---|---|---|---|
| mode | No | Search mode: fts (keyword), vector (semantic), hybrid (combined + reranking), auto (smart routing). Default: auto | |
| query | Yes | Search query | |
| library | No | Filter to specific library slug | |
| version | No | Filter to specific version | |
| max_results | No | Max results to return (default: 5) |