ps_do_action
Execute a named Photoshop action, optionally from a specific action set, to automate design tasks.
Instructions
在 Photoshop 中执行一个已安装的动作(Action)。action 为动作名,from 为动作集名(可选)。
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": {
"action": "<action>"
},
"name": "ps_do_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | 动作所在动作集名称,可选 | |
| action | Yes | 动作名称 |