ps_applyFilter
Apply a Photoshop filter to an active or named layer with settings like blur radius, noise amount, or threshold. Use Action Manager for smart filters or unsupported filters.
Instructions
Photoshop: apply a filter to a layer (converts smart objects? no — on smart objects use ps_actionManager for smart filters) — gaussianBlur {radius}, motionBlur {angle, distance}, unsharpMask {amount, radius, threshold}, addNoise {amount, mono}, highPass {radius}, median {radius}, dustAndScratches {radius, threshold}, clouds, lensFlare? (use ps_actionManager for any other / third-party filter).
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": {
"filter": "<filter>"
},
"name": "ps_applyFilter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | Layer name (searched in groups too); omit for the active layer. | |
| filter | Yes | ||
| document | No | Document name; omit for the active document. | |
| settings | No |