Move layers
move_layersmove_layer for MANY layers in ONE call: each entry sets one layer's static base (x/y/width/height/rotation/scale/opacity, same fields and rules as move_layer). All or nothing: an invalid entry rejects the whole call. This is how you PLACE many layers at once (scatter fifty duplicates, lay out a grid, re-flow a set); placement is static, so never use set_keyframes_batch for it — a keyframe is animation, and one keyframe per layer is a hidden constant.
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": {
"layers": "<layers>",
"projectId": "<projectId>"
},
"name": "move_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layers | Yes | One entry per layer, each with move_layer's fields. | |
| projectId | Yes | Opaque project id (a v4 UUID, from list_projects/create_project). Selects which existing project this call mutates. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the call succeeded. | |
| data | No | The payload, shaped by the tool. | |
| note | No | What to do next when not ready. | |
| error | No | Why it failed. | |
| status | No | For cache-backed readers: whether the answer was ready. | |
| editorUrl | No | Opens this project in the editor. |