get_context
Retrieve relevant project context ranked by relevance within a token budget, or fetch a single entry by ID at full fidelity.
Instructions
Retrieve relevant project context ranked by relevance within a token budget. Pass an id to fetch a single entry at full fidelity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Fetch a single entry by ID (e.g. 'dec-001') | |
| tags | No | Filter to entries with any of these tags | |
| query | No | Free-text description of what you're working on | |
| scope | No | File or module path to focus on | |
| since | No | Entries verified/created on or after this ISO date. | |
| types | No | Limit to specific entry types. Default: all. | |
| before | No | Entries verified/created strictly before this ISO date. | |
| project_dir | No | Absolute path to another project to read context from | |
| token_budget | No | Max tokens to return (default: from config) | |
| include_related | No | Also pull entries linked via related_to (depth 1). Default: true. |