Restore context
restore_contextVerify and import an export bundle into a workspace, optionally against a signed checkpoint. Requires scope 'context:restore'.
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": {
"workspace_id": "<workspace_id>",
"bundle": "<bundle>"
},
"name": "restore_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundle | Yes | A bundle returned by export_context. | |
| checkpoint | No | Optional signed checkpoint from create_checkpoint. When given, the restore proceeds only if the signature verifies, the checkpoint belongs to this account, and every memory in the bundle matches the checkpoint's content hash. | |
| on_conflict | No | skip | |
| workspace_id | Yes | ||
| idempotency_key | No | Optional. Same key + same arguments within 24 h returns the original result. | |
| require_signed_checkpoint | No | Reject unsigned context imports, rather than only checking the bundle's editable SHA-256 digest. Requires a valid same-account signed checkpoint. | |
| require_complete_checkpoint | No | When checkpoint is supplied, require every signed memory key to be present exactly once in this bundle. Set true for a complete restore; false permits an explicitly reported partial/page restore. |