move_bpmn_element
Move, resize, or reassign BPMN elements to a lane by setting x/y, width/height, or laneId. Batch multiple element changes in one validated, single-undo operation.
Instructions
Move, resize, or reassign an element to a lane. Any combination of x/y (absolute move), width/height (resize, top-left preserved), and laneId (auto-centered) — at least one required. For several elements at once, pass moves: [{ elementId, x?, y?, width?, height?, laneId? }] instead — validated up front, applied as one undo step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | New X coordinate. Required unless laneId is given. | |
| y | No | New Y coordinate. Required unless laneId is given. | |
| moves | No | Batch form — see the tool description. | |
| width | No | New width in pixels (top-left preserved). | |
| height | No | New height in pixels (top-left preserved). | |
| laneId | No | Target lane ID; x/y are ignored and the element is auto-centered in the lane. | |
| diagramId | Yes | The diagram ID | |
| elementId | No | Element to move or resize. Omit when using `moves`. |