Skip to content

brain_backup_restore

DESTRUCTIVE: full-replace restore of the current product's Brain from a snapshot (wipe + load).

Tool

brain_backup_restore

DESTRUCTIVE: full-replace restore of the current product's Brain from a snapshot (wipe + load).

DESTRUCTIVE: full-replace restore of the current product's Brain from a snapshot (wipe + load). Takes an automatic pre-restore snapshot first (safety net). Requires confirm:true AND confirmProductId echo; refuses on product/snapshot mismatch or embedding-dims mismatch. Async — returns { accepted, restoreId }; poll brain_restore_status.

Behavior

HTTP
POST /brain/restores

Arguments

Name
Type
Required
Description
confirm
boolean
•
Must be true. DESTRUCTIVE: the product's current Brain is wiped and replaced.
snapshotId
string
•
The snapshot id to restore for the current product.
confirmProductId
string
•
Must EXACTLY equal the current product id (double-entry confirmation).

Response

Field
Type
Always
Description
accepted
boolean
•
restoreId
string
•

Try it

DESTRUCTIVE: full-replace restore of the current product's Brain from a snapshot (wipe + load).

When to use

DESTRUCTIVE: full-replace restore of the current product's Brain from a snapshot (wipe + load). Takes an automatic pre-restore snapshot first (safety net). Requires confirm:true AND confirmProductId echo; refuses on product/snapshot mismatch or embedding-dims mismatch. Async — returns { accepted, restoreId }; poll brain_restore_status.

Example

Ask your agent something like this:

DESTRUCTIVE: full-replace restore of the current product's Brain from a snapshot (wipe + load).

The agent will invoke brain_backup_restore with these arguments:

{
  "confirm": "<confirm>",
  "snapshotId": "<snapshotId>",
  "confirmProductId": "<confirmProductId>"
}

Esc

Start typing to search the docs.

↑↓navigate↵select