photoshop_move_layer_to_position
Move the active Photoshop layer above, below, to top, or bottom relative to a target layer by name, optionally within a specific document.
Instructions
Move the active layer relative to another 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": {
"targetLayerName": "<targetLayerName>",
"position": "<position>"
},
"name": "photoshop_move_layer_to_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | Yes | Position relative to target layer | |
| document_id | No | Optional Photoshop document id from photoshop_get_state / photoshop_list_documents. When set, the tool activates that document before running so a UI tab switch cannot retarget the edit. | |
| targetLayerName | Yes | Name of the layer to move relative to |