photoshop_rotate_layer
Rotate the active Photoshop layer by a specified angle, clockwise or counter-clockwise, with optional document targeting so edits apply to the intended document.
Instructions
Rotate the active 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": {
"degrees": "<degrees>"
},
"name": "photoshop_rotate_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| degrees | Yes | Rotation angle in degrees (positive = clockwise, negative = counter-clockwise) | |
| 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. |