get_context
Generate a token-budgeted context block from project memory to get relevant history without reading the full summary. Optionally focus on a specific path or keyword for targeted context.
Instructions
Generate a token-budgeted memory context block.
Use when you don't want to read the full summary. ``focus`` (e.g.
'src/auth/') biases the context toward a specific area.
Read-only; assembles a freshly-budgeted context block from
events.jsonl.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | Optional path prefix or keyword to bias selection toward (e.g., 'src/auth/'). When omitted, the context is project-wide. | |
| tokens | No | Approximate target token budget for the returned markdown (default 2000). Output may be slightly over or under as events are included as whole units. Recommended range: 500-8000. | |
| project | No | Which project this call is about — a registered id, alias, or absolute path (e.g. 'ossdrop'). Omit it when the server was started for a single repo, or when an active project is set with `pjm project use`. Call list_projects to see the registered names. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |