penpot_delete_shapes
Delete one or more shapes from a Penpot page by providing their IDs. Removing a frame or group also deletes its children, matching Penpot's native behavior.
Instructions
Delete one or more existing shapes from a page in a Penpot file, by id. Deleting a frame or group also removes its children, matching Penpot's own delete behavior. This is the only way to remove a shape — there is no undo via this tool once the change is sent.
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": {
"fileId": "<fileId>",
"pageId": "<pageId>",
"shapeIds": "<shapeIds>"
},
"name": "penpot_delete_shapes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ||
| pageId | Yes | ||
| shapeIds | Yes |