photoshop_play_action
Run a recorded Photoshop action from the Actions palette by specifying its action set and name; if either is missing, the error lists available names to retry.
Instructions
Play a recorded action from the Actions palette.
Names are the ones the Actions panel shows, in the Photoshop UI language: the built-in set is "Default Actions" only in English Photoshop. When the set or the action does not exist, the error (code invalid_arguments) lists the names this Photoshop has; retry with one of them.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"actionName": "<actionName>",
"actionSetName": "<actionSetName>"
},
"name": "photoshop_play_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actionName | Yes | Name of the action to play, exactly as the Actions panel shows it | |
| 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. | |
| actionSetName | Yes | Name of the action set containing the action, exactly as the Actions panel shows it (localized for the sets Photoshop ships) |