search
Query indexed documents with natural language to retrieve relevant snippets, relevance scores, page ranges, and metadata; filter results by tags, authors, or publication years.
Instructions
Search indexed documents with natural language query. Returns snippets with relevance scores, page ranges, and document metadata.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language search query | |
| top_k | No | Number of results to return (default: 10, max: 100) | |
| filters | No | Optional filters to narrow search results |