transform_layers
Move, uniformly resize or rotate several layers together in one atomic panel update. Uses the same pixel geometry as the web editor; linked panorama slices move together.
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": {
"projectId": "<projectId>",
"position": "<position>",
"layerIds": "<layerIds>"
},
"name": "transform_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dx | No | Horizontal movement as a fraction of the common canvas width. | |
| dy | No | Vertical movement as a fraction of canvas height. | |
| scale | No | Uniform size multiplier around selection center, e.g. 0.9. | |
| family | No | ||
| locale | No | Localization to edit. Omit for the project’s main localization. | |
| layerIds | Yes | ||
| position | Yes | ||
| rotation | No | Additional clockwise rotation around selection center in degrees. | |
| projectId | Yes |