Search documents
search_docsWhen to use: keyword/hybrid search when the folder is unknown or the question spans folders. Not for browsing one known folder (get_index), not for folder tree (list_collections), not for a workset list (get_workset). Prefer list_collections → get_index when the folder is known. Hybrid search over agent-visible docs (radar, not the only entry). Optionally filter by collection name/id or pasted silvalabs:folder//. If the user pastes silvalabs:doc/… prefer get_doc with that UUID instead of searching. Returns top hits with id — then call get_doc. Budget: 1–2 searches per turn. Empty results: tell the user «Ничего не нашёл, искал в …» — no invented 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_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query | |
| collection | No | Optional folder name, UUID, or silvalabs:folder/<uuid>/<name> |