Get project context
get_project_contextRetrieve an authorized project's context pack: state, TODOs, decisions, timeline, recent memories, and optional semantic recall, with configurable item/token limits.
Instructions
Read one authorized project's bounded context pack: state, TODOs, decisions, timeline, recent memories, and optional durable recall. Requires memory:read; it does not mutate project memories, and access is audit-logged. Use an exact project_id for a whole-project snapshot; otherwise use recall_context. max_items/max_tokens bound the whole pack; recent_hours affects only timeline; durable_query requires include_durable_context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | No | Accessible bucket filter; % includes all accessible buckets. | % |
| team_id | No | Optional exact authorized team focus; other team rows are excluded. | |
| agent_id | No | Optional client-supplied agent label for memory attribution. | |
| max_items | No | Whole-pack item budget from 1 to 1000. | |
| max_tokens | No | Whole-pack approximate token budget from 1 to 50000. | |
| project_id | Yes | Exact authorized project ID; project names are not accepted. | |
| output_json | No | True returns the full structured pack; false returns a text summary. | |
| recent_hours | No | Timeline lookback from 1 to 8760 hours; other sections are unaffected. | |
| durable_query | No | Query only for durable recall; ignored when include_durable_context is false. | |
| agent_instance_id | No | Optional stable, non-secret agent instance ID for per-client attribution. | |
| include_durable_context | No | Include semantic durable recall; false omits that section. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |