photoshop_list_datasets
Lists the data sets defined on the active Photoshop document so you can inspect available variables before applying a data set or debugging a data-driven template.
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.
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_datasets"
}
}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. |