ps_do
Run a named Photoshop operation with arguments and return its result as JSON instead of writing ExtendScript.
Instructions
Run one Photoshop operation by name (see ps_catalog), e.g. {"operation":"create_text_layer","args":{"text":"Hi"}}. Returns the operation result JSON. Prefer this over writing ExtendScript.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | operation parameters | |
| operation | Yes | operation name from ps_catalog (without the photoshop_ prefix) |