context_pack
Assemble answer-ready context for a natural-language question in one call: ranked excerpts, linked notes, and source paths within a set byte budget.
Instructions
Assemble everything needed to ANSWER a natural-language question in one call, under a strict byte budget (default 2048): ranked excerpts, linked neighbor notes (backlinks/outlinks) with one-line summaries, and follow-up source paths. Retrieval is lexical by default: for a question phrased in words the note itself may not use, pass mode "hybrid" or "semantic", and scope with folder/tag exactly as in search. Use search to locate notes and query_notes for metadata filters; use context_pack when you want answer-ready context without multiple round-trips. Empty excerpts with confidence "none" or "low" means the vault lacks coverage — do not infer content; with folder or tag set, "none" can also mean the filter excluded every match, which totalMatches distinguishes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Restrict to notes with this tag. # optional, case-insensitive; nested child tags match ("project" matches project/alpha). | |
| mode | No | lexical = keyword search (default). semantic = meaning-based over local embeddings (needs SEEKSTONE_SEMANTIC=1 and a fetched model). hybrid = exact-title lookups go lexical, everything else semantic. | |
| query | Yes | Natural-language question or topic. | |
| folder | No | Restrict to a vault-relative folder prefix. | |
| budgetBytes | No | Hard cap on response JSON bytes (256–16384, default 2048). |