get_context
Assemble a scoped, ranked context pack for a task query at the start of substantial work, replacing broad file reading with relevant rules, code, and knowledge.
Instructions
Assemble a context pack — a scoped, ranked bundle of orientation, rules, relevant code, and knowledge for a task query. Use at the start of substantial work on a topic instead of reading files broadly — narrower than a session-start pack, broader than a single search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| repo | Yes | Absolute path to the project root containing `.cogz/`. | |
| query | No | ||
| record | No | Record this call as a delivery in usage telemetry. Defaults to true — pass false to inspect a pack without bumping access counts, opening a delivery, or closing pending usage as misses. | |
| max_tokens | No | ||
| include_stale | No |