Update elements
snipaya_update_itemsUpdate existing canvas elements by ID to move, resize, rotate, edit text, or restyle them—including step badges—as one undoable change.
Instructions
Change existing elements by id: move (x, y), resize (width, height), rotate (degrees), change text, or restyle. For steps, width or style.fontSize resizes the badge. All updates are one undo step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Target tab id. Defaults to the active tab. | |
| updates | Yes | ||
| relativeTo | No | Image id from snipaya_get_canvas. When set, all coordinates in this call are pixels of that image as captured (the same pixels you see in snipaya_render of that image). |