Query-relevant project context
project_contextSearch all project files for relevant excerpts with source paths, line ranges, and heading context. Works within a character budget, skips unreadable files, and notes truncated results.
Instructions
Returns the most RELEVANT excerpts across ALL the project's live files for a query (lexical ranking over structural chunks), each with provenance: file path, 1-based line range, and Typst heading path. Budget-limited and read-only: files with duplicate-path conflicts or over the per-file cap are skipped (listed in skipped with a reason), and selectionTruncated reports when relevant chunks did not fit the budget. Use read_file for a complete file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What you are looking for — ranks chunks across the whole project. | |
| budget | No | Response budget in characters of excerpt text (default 6144). |