search_documents
Retrieve relevant documents from a knowledge base using semantic search. Specify the query and number of documents to return.
Instructions
Search for relevant documents in the knowledge base without generating an answer
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_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query for semantic document retrieval | |
| top_k | No | Number of documents to return (1-10) |