photoshop_move_layer
Moves the active Photoshop layer by a specified pixel offset in horizontal and vertical directions, optionally targeting a document ID so UI tab switches cannot retarget the edit.
Instructions
Move the active layer by specified offset
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": {
"deltaX": "<deltaX>",
"deltaY": "<deltaY>"
},
"name": "photoshop_move_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deltaX | Yes | Horizontal offset in pixels (can be negative) | |
| deltaY | Yes | Vertical offset in pixels (can be negative) | |
| 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. |