restore
Restore memories from a JSON backup file, supporting MCP wrapper, RecallResult, or direct memory array formats. Use the merge option to combine with existing data.
Instructions
Restore memories from a JSON backup file. Supports MCP wrapper format, RecallResult format, and direct memory array format.
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": {
"path": "<path>"
},
"name": "restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the backup JSON file to restore from | |
| merge | No | For portable archives, merge into the current database instead of requiring an empty target. Applies sync tombstones and keeps newer local memory rows on conflict. | |
| allowAnyPath | No | Allow restoring from a file outside the active Vestige backups/ or exports/ directories. Only set true for trusted local files. |