memory_offload_context
Park the agent's working context as a restorable snapshot to free memory or switch tasks. Snapshots rotate per session.
Instructions
Park the agent's working context as a restorable snapshot (offload).
Use before context runs out or when switching tasks, so the work can be reloaded
later with `memory_reload_context` instead of being lost. Snapshots are rotated
per session. Returns the new `snapshot_id` and `session_id`.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trigger | No | Why the snapshot was taken, e.g. 'manual', 'pre-compaction', 'checkpoint'. | manual |
| session_id | Yes | Stable id for the working session this snapshot belongs to (used to reload later). | |
| snapshot_data | Yes | Arbitrary JSON object capturing the working context to park (open files, plan, decisions, TODOs, etc.). |