photoshop_list_datasets
Lists all data sets defined on the active Photoshop document, showing names, active set, and count. Use before applying data sets or debugging data-driven templates.
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 | 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. |