Create Layer
ps_create_layerAdd a new pixel layer or layer group to your Photoshop document. Optionally position it below an existing layer by name.
Instructions
Creates a new layer or group in the active document. Optionally positions it below a named layer.
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_create_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Layer name — Photoshop generates one if omitted | |
| type | Yes | Create a normal pixel layer or a layer group | |
| below | No | Name of an existing layer to insert below |