kb_documents_search
Hybrid keyword+vector search across documents in the caller's tenant. Returns ranked results with snippets. mode: hybrid (default) | keyword | vector. For passage-level retrieval to ground a generated answer, prefer kb_chunks_retrieve; this tool returns doc-grouped results shaped for browse and search UIs.
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": "kb_documents_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Search mode (default: hybrid) | |
| limit | No | Max results (default 25, max 100) | |
| query | Yes | Search terms or natural-language query | |
| offset | No | Pagination offset (default 0) | |
| group_slugs | No | Restrict to docs in any of these groups | |
| tenant_slug | No | Tenant slug to target. Required when your token grants several workspaces; omit when it grants one. If you omit it with several, the refusal names your default workspace; call kb_tenants_list to see every workspace the token grants. | |
| project_slug | No | Restrict to one project |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes |