photoshop_list_datasets
Lists data sets defined on the active Photoshop document, showing the active set and count to verify or debug data-driven templates before applying variables.
Instructions
List the data sets defined on the active document (Image > Variables > Data Sets).
Use when: before applying data sets or debugging a data-driven template.
Returns: JSON { ok, summary, details: { datasets, active, count } }. Preconditions: active document with variables/data sets defined.
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. |