Start Engram
engram_startBegin meaningful work in a repository with a Markdown briefing: session id, ranked private/public memory, workspace guidance and optional checklists. Unlike engram_smarter, this includes workspace onboarding/activation guidance; unlike engram_rehydrate, it prepares a starting briefing instead of reconstructing a prior journal. Use once when beginning work; choose engram_smarter for a task switch and engram_rehydrate for recovery.
Supply repo and task when known; context overrides the generated project/market/role/stack/task query. Reuses one eligible active journal; new_session=true deliberately creates a separate journal. Supply session_id for parallel work. Ambiguous automatic selection returns 409; list sessions and choose an exact id. Records a session event; repeating may add events or open another session. Consumes workspace daily call quota; quota exhaustion requires reset or a plan change, not immediate retries. OAuth: memory:read and session:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector. | |
| role | No | Agent responsibility used in task context, e.g. backend engineer. Start/setup default to implementation agent. | |
| task | No | Concrete current goal or decision, e.g. diagnose checkout retries; used to focus context and session recovery. | |
| depth | No | Default focused uses a small retrieval budget; deep expands it when focused results are insufficient. An explicit limit overrides the default budget. | |
| limit | No | Maximum retrieved memories, 1–30. Omitted defaults: focused=8, deep=16; explicit values override these defaults. | |
| stack | No | Project technologies used to focus context; omit when unknown. | |
| market | No | Business/domain context, e.g. fintech or education; not a geographic access setting. | |
| context | No | Optional full task context; overrides the query generated from project, role, market, stack and task. | |
| project | No | Product/project name for session context. Start/setup use it as the repository hint when repo is omitted. | |
| agent_tool | No | Calling client name for attribution, e.g. codex, claude-code, cursor, or gemini. Omit if unknown. | |
| session_id | No | Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history. | |
| new_session | No | Default false reuses one eligible active journal. True creates a separate journal for parallel work; retries can create another session. Keep the returned session_id. | |
| include_skills | No | Include relevant procedural checklists. If omitted, the server infers this from task/context keywords; false suppresses checklists. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool. | |
| format | Yes | Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text. | |
| truncated | Yes | True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable. |