photoshop_list_artboards
Lists artboards (ID, name, pixel bounds, active layer) in the active Photoshop document. Use for UI/multi-screen designs needing artboard IDs before export or edits.
Instructions
List artboards in the active document with id, name, pixel bounds, and which one contains the active layer.
Users often say: artboards, 画板, multi-screen, iPhone and iPad frames, device layouts.
Use when: the document is an artboard file (UI/multi-screen) and you need artboard_id before export or edits. Do NOT use when: listing open document tabs — use photoshop_list_documents.
Returns: JSON { ok, summary, details: { count, artboards[] } }. Empty list if the document has no artboards. Preconditions: active document. Side effects: none.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |