Get Project Context
get_project_contextRetrieve a structured project context pack with memory items, recent activity, and durable context. Filter by bucket, team, or custom query to focus results.
Instructions
Assemble a structured project context pack for the given project.
Args:
project_id: Project identifier (the project scope).
bucket: Bucket filter (default "%" for all buckets).
team_id: Optional team focus.
max_items: Maximum context items.
max_tokens: Maximum rendered tokens.
include_durable_context: Whether to include long-lived durable context.
durable_query: Optional query to focus durable context.
recent_hours: Hours of recent activity to include.
output_json: Return the full JSON pack instead of a text summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | No | Memory bucket or namespace to read from or write to; use % only for tools that support wildcard reads. | % |
| team_id | No | Optional team/workspace identifier for team-scoped memory access. | |
| agent_id | No | Optional client-supplied agent label for memory attribution. | |
| max_items | No | Maximum number of memory items to include. | |
| max_tokens | No | Approximate maximum response size. | |
| project_id | Yes | Input value for the Get Project Context tool. | |
| output_json | No | Return a machine-readable JSON response instead of a human-readable summary. | |
| recent_hours | No | Input value for the Get Project Context tool. | |
| durable_query | No | Input value for the Get Project Context tool. | |
| agent_instance_id | No | Optional stable, non-secret agent instance ID for per-client attribution. | |
| include_durable_context | No | Input value for the Get Project Context tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |