get_context
Detect the current project and return a compact context summary: memory pointers, decision IDs, and items to review. Drill into specifics with expand_memory.
Instructions
Auto-inject relevant context at the start of a session. Call this FIRST.
Detects the current project from cwd, then returns a COMPACT overview (~300-600 tokens): memory/decision pointers with ids, what needs review, stats. Drill into anything with expand_memory(ids=[...]).
Args: cwd: Current working directory (for project auto-detection). task_description: Brief description of what you're about to do (improves relevance). limit: Max memories to include. max_tokens: Token budget for the dense format — truncated by relevance, not by age. format: "dense" (default, compact markdown) or "json" (full previews, verbose).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| limit | No | ||
| format | No | dense | |
| max_tokens | No | ||
| task_description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |