penpot_restore_file_snapshot
Restore a Penpot file to a previous state using a snapshot ID. Automatically creates a backup of the current state before applying the restore.
Instructions
Restore a Penpot file to the state captured in a named snapshot (equivalent to "Restore version" in the Penpot UI). Penpot automatically creates a system backup snapshot of the current file state before applying the restore, so you can undo a restore by listing snapshots again and restoring the most recent system entry. Requires the fileId and the snapshotId returned by penpot_list_file_snapshots. The restore replaces the file's live data — all agents and browser sessions editing the file will see the updated content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ||
| snapshotId | Yes |