search_knowledge
Search a container using semantic, keyword, or hybrid mode to retrieve ranked passages with citations, scores, and document IDs. Refine the query and search again when results are thin.
Instructions
Search a container using semantic, keyword, or hybrid mode (Hybrid is the default and works well without tuning). Returns ranked passages with citations, scores, and document IDs. If the first query returns thin results, refine the query and call again.
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>",
"containerId": "<containerId>"
},
"name": "search_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Search mode: Semantic (vector), Keyword (full-text), or Hybrid (both). Default: Hybrid | |
| path | No | Optional: Filter results to a folder subtree (e.g., '/docs/') | |
| topK | No | Number of results to return. Default: 10 | |
| query | Yes | The search query text | |
| minScore | No | Minimum similarity score floor (0.0-1.0). Defaults to 0.05. | |
| containerId | Yes | Container or source ID or name to search within |