Vault Search
vault_searchSearch the authenticated tenant's Vault and return ranked chunks (chunk_id, file_id, filename, chunk_index, text, score) plus hit_count. Raw retrieval only — no LLM narrative. Use this when you need passages from uploaded files. Use sourced_brief (sources including "vault") or quick_brief when you want a written memo. Requires a Ysaere account (not available keyless). Sync — returns hits immediately, not a run_id; do not poll check_report_status. Optional limit (1–20, default 8), min_similarity (0–0.99, default 0.35; higher drops weaker hits), and file_ids (max 50) to scope the search. Costs 5 credits. Does not create, delete, or overwrite files; it only reads the Vault and may debit credits.
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": "vault_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max chunks to return (integer 1–20). Server default is 8 when omitted. | |
| query | Yes | Natural-language search over the tenant Vault (1–2000 characters). Required. | |
| file_ids | No | Optional file-id allowlist (max 50). When set, only chunks from these files are searched. Omit to search the whole tenant Vault. | |
| min_similarity | No | Minimum cosine similarity 0–0.99. Server default is 0.35. Higher values return fewer, closer hits; 0 keeps low-scoring chunks up to limit. |