photoshop_list_artboards
Lists artboards in the active Photoshop document, returning IDs, names, pixel bounds, and which artboard contains the active layer. Use before export or edits to get artboard_id.
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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "photoshop_list_artboards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | No | Optional Photoshop document id from photoshop_get_state / photoshop_list_documents. When set, the tool activates that document before running so a UI tab switch cannot retarget the edit. |