get_context
tools/call
Read a deterministic, versioned, token-budgeted snapshot of the sections this key can read. Requires read:state and at least one usable section scope, not read:work. Work needs read:work, projects read:projects, and sessions read:agent_sessions; other sections keep their own scopes and normal access checks. omittedSections lists each missing-scope section and its requiredScope, including in unchanged responses. budgetOmissions separately names sections shortened or removed for the token budget; use their paged tools for more detail. Compaction keeps representative records when they fit. A Projects admission refusal omits only projects with reason admission_denied; other authorized sections remain available. With no usable section the call fails with INSUFFICIENT_SCOPE. A project-only key can start with admitted project context. The snapshot includes visible typed context links, this agent's recent approval outcomes, memory-proposal outcomes, and human guidance when authorized. Context links never grant access: both exact endpoints are reauthorized for this agent on every read. When Life access and explicit signal grants allow it, the snapshot also includes qualitative, source-backed capacity hints derived only from those grant-scoped signals, never an invented numeric score. Pass the previous version to receive a compact unchanged response when nothing has changed. Pass project to fill the memory section from one project's memories; memoryProject then names the project, and the version covers that choice.
Scopes
read:state
At least one section scope for a launched product is required; otherwise INSUFFICIENT_SCOPE. Each section uses the same access checks as its single-purpose tool; the Projects slice is admitted with read:projects. Project canvas capability checks also evaluate write:projects and manage:projects; missing scopes suppress those permitted-action capabilities. Filling the memory section from one project (project) also needs read:projects. A memory recorded from an agent session also needs read:agent_sessions; without it the memory is left out, or reads as NOT_FOUND.
Inputs
- sinceVersionstring
- Version returned by the previous get_context response
- projectstring
- Fill the memory section from one project, by its ID, key or name; needs read:projects. Where the organization reads memory by scope, that is the project's memories and the organization's; elsewhere, the project's 100 newest linked memories
- tokenBudgetnumber
- Approximate maximum tokens returned.
Returns
A versioned context snapshot, or a compact unchanged response when sinceVersion matches. Both include omittedSections entries with section and requiredScope for missing scopes. budgetOmissions names sections shortened or removed to fit the token budget and is empty when unchanged. Compaction retains representative records when they fit; follow their paged tools for more. A Projects admission refusal returns projects:null and an omission with reason:admission_denied, preserving other authorized sections; if none is usable, the call fails with INSUFFICIENT_SCOPE. Section scopes: read:work work, read:projects projects, read:agent_sessions sessions, read:ideas ideas, read:memory memory, contribute:memory memoryProposalActivity, read:life life and lifeCapacity, read:reviews review, request:approvals approvals and approvalActivity, read:audit recentAudit (human-only, not grantable to agent connections). Closed products return no section data regardless of scopes; launch closure alone does not add an omittedSections entry. Projects contains bounded items and truncated; missing scopes return null or empty sections, never broader access. A call returns content[0].text with the JSON result and structuredContent.result with the same value.
Listed when
The connection has agent access and every scope the tool needs.