Close Document
photopea_close_documentDestructive
Close the active document in Photopea. Choose to save changes or discard unsaved edits before automatically switching to the next open document.
Instructions
Close the active document. Set save to true to save changes before closing. Unsaved changes are discarded if save is false. The next open document becomes active, if any.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Whether to save changes before closing (true = save first, false = discard unsaved changes) |