search_docs
Find relevant passages from indexed Markdown, text, and PDF documents by semantic query and return file and section citations for answering questions from your own sources.
Instructions
Searches the indexed documents by meaning and returns the most relevant passages, with their file and section. Use it to answer questions from the user's own documents, and cite the files you used.
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 |
|---|---|---|---|
| topK | No | How many passages to return, from 1 to 20. | |
| query | Yes | What to look for, as a question or a short phrase. | |
| folder | No | Optional. Only search files inside this folder. |