Skip to main content
Glama

Close Document

photopea_close_document
Destructive

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
NameRequiredDescriptionDefault
saveNoWhether to save changes before closing (true = save first, false = discard unsaved changes)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/attalla1/photopea-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server