session_restore
Restore a remote session's workspace to a checkpoint, reverting tracked files and permanently deleting untracked files. Omit checkpoint_id for the most recent.
Instructions
DESTRUCTIVE: restore a remote session's workspace to a checkpoint (omit checkpoint_id to restore the most recent). Reverts tracked files and DELETES untracked files anywhere under the workspace, permanently and without a prompt. Does not undo other side effects (DB writes, network calls, installs).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session id from session_create. | |
| checkpoint_id | No | Checkpoint id to restore; omit to restore the most recent. |