photoshop_export_artboards
Export every artboard in the active Photoshop document to a folder as separate PNG, JPEG, WebP, or AVIF files. Use for delivering one file per artboard, such as multi-screen designs.
Instructions
Export every artboard in the active document to a folder (duplicate + crop to artboardRect, then PNG/JPEG/WebP/AVIF).
Users often say: export all artboards, multi-screen PNG, 画板 çıktısı.
Use when: delivering one file per artboard. Long jobs use a 600s script timeout. Do NOT use when: exporting the whole canvas once — use photoshop_export_as.
Returns: JSON { ok, summary, details: { exported[], failed[], folder } }. Preconditions: document with at least one artboard. Side effects: writes files; does not modify the original.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | Absolute output folder (created if missing) | |
| format | No | Export format | PNG |
| quality | No | Quality 0-100 (JPEG/WebP/AVIF) | |
| document_id | Yes | Photoshop document id from photoshop_get_state / photoshop_list_documents. Send null or 0 to use the active document. A positive number activates that document before the tool runs. When no document is open, a stale id does not block the call. |