search-documents
Search indexed documents by index name and query to locate matching terms or topics, with an optional result limit.
Instructions
Search through indexed documents for specific terms or topics
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": {
"indexName": "<indexName>",
"query": "<query>"
},
"name": "search-documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query | |
| indexName | Yes | Name of the document index to search | |
| maxResults | No | Maximum results to return (default: 10) |