photoshop_move_layer
Move the active layer in Adobe Photoshop by a specified horizontal and vertical pixel offset, optionally targeting a document by ID.
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>",
"document_id": "<document_id>"
},
"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 | Yes | Photoshop document id from photoshop_get_state / photoshop_list_documents. Send null or 0 to use the active document. A positive number activates that document before the tool runs. When no document is open, a stale id does not block the call. |