session_load_context
Recover previous work state by loading session context for a project. Choose from three levels: quick for latest state, standard for summaries, or deep for full history.
Instructions
Load session context for a project using progressive context loading. Use this at the START of a new session to recover previous work state. Three levels available:
quick: Just the latest project state — keywords and open TODOs (~50 tokens)
standard: Project state plus recent session summaries and decisions (~200 tokens, recommended)
deep: Everything — full session history with all files changed, TODOs, and decisions (~1000+ tokens)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Optional. Agent role for Hivemind scoping (e.g., 'dev', 'qa', 'pm'). Omit to let the server auto-resolve from dashboard settings. When set, also injects active_team roster. | |
| level | No | How much context to load: 'quick' (just TODOs), 'standard' (recommended — includes recent summaries), or 'deep' (full history). Default: standard. | |
| prompt | No | Optional. User prompt text for keyword-triggered skill loading. When provided, the server matches against prompt_keywords in the routing table and loads additional skills. Fires on every call — enables mid-session re-routing when the user's focus changes. | |
| project | Yes | Project identifier to load context for. | |
| max_tokens | No | Maximum token budget for context response. Uses 1 token ≈ 4 chars heuristic. When set, the response is truncated to fit within the budget. Default: unlimited. | |
| toolAction | Yes | Brief 2-5 word summary of what this tool is doing. Capitalize like a sentence. | |
| toolSummary | Yes | Brief 2-5 word noun phrase describing what this tool call is about. | |
| conversation_id | No | Optional. Session key for this conversation (same id used in session_save_ledger). When provided, marks the session as context-loaded server-side so project-scoped tools can verify working context without relying on hook-based enforcement. Required on non-Claude hosts. |