Pack vault context for an AI question (token-budgeted)
obsidian_context_packRetrieve top relevant notes from your Obsidian vault based on a question, combine with backlink summaries and recent daily notes, then pack into a token-budgeted markdown bundle ready for AI chat.
Instructions
Given a question, retrieve the top relevant notes (via hybrid search), gather backlinks summaries + optionally recent dailies, deduplicate, pack to a token budget, return a single ready-to-paste markdown bundle. Saves the agent ~5 separate tool calls; produces a coherent context blob you can paste into any AI chat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Topic or question to gather context for | |
| budget_tokens | No | Approximate token budget (default 4000, ~4 chars/token) | |
| folder | No | Restrict retrieval to this folder (vault-relative) | |
| include_backlinks | No | Include 1-line backlink summaries for top-3 notes (default true) | |
| recent_dailies | No | Include the last N daily-format notes (YYYY-MM-DD basenames). Default 0 (off). |