delete_shape
Remove a shape from a Penpot page by specifying file, page, and shape IDs.
Instructions
Delete a shape from the page
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_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | File ID | |
| pageId | Yes | Page ID | |
| shapeId | Yes | Shape ID |