photoshop_set_active_artboard
Select an artboard by ID or exact name to make it active, so subsequent edits and Select All target that board instead of another frame.
Instructions
Select an artboard layer group by artboard_id (preferred) or unique name so subsequent edits and Select All target that board.
Use when: switching between device frames in an artboard document. Do NOT use when: switching document tabs — use photoshop_set_active_document.
Returns: JSON { ok, summary, details: { artboard } }. Preconditions: target artboard exists (photoshop_list_artboards). Side effects: changes the active layer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Exact artboard name (ambiguous if duplicates — use artboard_id) | |
| artboard_id | No | Layer id from photoshop_list_artboards / photoshop_get_state | |
| 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. |