Restore Browser State Capsule
capsule_restoreRestore a saved capsule to the current session, verify the server session is still live. Returns LIVE or STALE to indicate trustworthiness.
Instructions
Restore a saved capsule onto this session and verify it is still live.
Sets the cookies + storage, navigates to the captured URL, then checks the saved liveness marker. Returns whether the restored state is LIVE or STALE. A STALE capsule (the server session expired) cannot be trusted — any bug you record afterwards is flagged unreliable until you re-mint the state.
Args: name: Capsule name to restore (looked up for the current origin).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |