snapshot_thread_context
Freeze the assembled thread context pack into a tamper-evident, deduplicated artifact store, creating a verifiable record of exactly what the agent received. Fetch the frozen bytes later via the artifact SHA.
Instructions
Freeze the assembled context pack (live or as_of) into the content-addressed artifact store — a tamper-evident, deduped record of exactly what the agent was handed. Same params as get_thread_context; returns the artifact (kind=context_snapshot). Requires artifact:upload. Fetch the bytes via the artifact sha.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"thread_id": "<thread_id>"
},
"name": "snapshot_thread_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Event-log id: freeze the thread as it stood at that point. Omit for the live pack. | |
| thread_id | Yes | ||
| token_budget | No | Cap the message page by estimated tokens before freezing (see get_thread_context). | |
| include_edits | No | ||
| message_limit | No | ||
| include_glossary | No | ||
| transition_limit | No | ||
| include_parent_grounding | No | Attach parent grounding before freezing (see get_thread_context). | |
| include_accepted_decisions | No | Attach in-channel accepted decisions before freezing (see get_thread_context). |