query_document
Search document content by semantic similarity to find relevant passages, with an optional limit on the number of results returned.
Instructions
Search for information in the document based on semantic similarity
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_text": "<query_text>"
},
"name": "query_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_text | Yes | The search query text | |
| num_results | No | Number of results to return (default: 5) |