delete_element
Delete a shape from a Penpot page by providing file, page, and shape IDs. This action is irreversible, so confirm before executing.
Instructions
Delete a shape from a Penpot page. Use with caution — this is irreversible.
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>",
"shapeId": "<shapeId>"
},
"name": "delete_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | Penpot file ID | |
| pageId | Yes | Page ID containing the element | |
| shapeId | Yes | ID of the shape to delete |