penpot_export_shape
Export a shape UUID, selection, or page as PNG or SVG. Remote mode returns content without writing local files. Requires the active Penpot file.
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": {
"shapeId": "<shapeId>"
},
"name": "penpot_export_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | shape | |
| format | No | png | |
| shapeId | Yes |