update_element
Modify an existing shape on a Penpot page by adjusting its name, position, size, fill color, corner radius, or visibility.
Instructions
Update an existing shape on a Penpot page. Can modify name, position, size, fill color, corner radius, and visibility.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | New X position | |
| y | No | New Y position | |
| name | No | New layer name | |
| width | No | New width | |
| fileId | Yes | Penpot file ID | |
| height | No | New height | |
| pageId | Yes | Page ID containing the element | |
| shapeId | Yes | ID of the shape to update | |
| visible | No | Visibility toggle | |
| fillColor | No | New fill color hex | |
| cornerRadius | No | New corner radius |