Add Adjustment Layer
ps_add_adjustmentAdds a non-destructive adjustment layer (curves, levels, hue-saturation, etc.) above the active layer with specified parameters.
Instructions
Creates a NON-DESTRUCTIVE adjustment layer above the active layer. Supports curves, levels, hue-saturation, color-balance, gradient-map, solid-color, photo-filter, brightness-contrast, and invert. Supply the type and its specific params object.
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": {
"type": "<type>"
},
"name": "ps_add_adjustment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Adjustment layer type | |
| params | No | Type-specific parameters — see each adjustment type for which fields apply |