photoshop_scale_layer
Scale the active Photoshop layer by a specified percentage, optionally from the center or top-left, and target a specific document to prevent UI tab switches from retargeting the edit.
Instructions
Scale the active layer by a percentage
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": {
"scalePercent": "<scalePercent>"
},
"name": "photoshop_scale_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| centerAnchor | No | Scale from center (true) or top-left (false). Default: true | |
| scalePercent | Yes | Scale percentage (e.g., 50 for 50%, 200 for 200%) |