search_documents
Find documents by semantic similarity to your query. Search a centralized knowledge base, optionally filter by collection, and specify the number of results.
Instructions
Search documents by semantic similarity.
Args:
query: The search query text.
collection: Optional collection name to search in.
top_k: Number of results to return (default 10).
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 | ||
| top_k | No | ||
| collection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |