save_context
Save a cognitive checkpoint for handoff to another agent or your future self.
The `description` is the primary cognitive payload — its narrative is what
lets another agent resume the work. The server also runs hybrid search on
the description and attaches the most relevant memories to the checkpoint.
Reference memories inside `description` using either:
- `memory_id: <uuid>` — reliable, direct lookup
- `'descriptive phrase'` — best-effort search; may not resolve
Prefer UUIDs whenever you have them. The response reports
`references_resolved` + `unresolved_references` so you can retry.
For the full hygiene guide (what to include, how to organize, when to
checkpoint, example shapes), invoke the `checkpoint_protocol` MCP prompt.
Args:
name: Unique identifier for this checkpoint (used by restore_context).
description: Narrative handoff with optional memory references.
ctx: MCP context (automatically provided).
Returns:
Dict with success status, context_id, memories_included, and (when
references were extracted) references_resolved + unresolved_references.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |