photoshop_list_documents
List all open Photoshop documents with IDs, dimensions, saved status, artboard counts, and active tab. Use it to find a document ID before switching, previewing, or closing a specific file.
Instructions
List every open Photoshop document with id, dimensions, saved flag, artboard_count, and which tab is active.
Use when: multiple documents are open and you need document_id before switching tabs, previewing, or closing a specific file. Do NOT use when: you only need the active document — use photoshop_get_document_info or photoshop_get_state.
Returns: JSON { ok, summary, details: { count, documents[] (id, name, width, height, saved, artboard_count, is_active), active_document_id, context } }. Preconditions: none (safe when zero documents open). Side effects: briefly activates each tab to read artboard_count, then restores the original active document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||