Export a post image
render_postExports a Penpot board as a PNG into the brand kit’s output folder and reports the file size, so social post images are saved and verified.
Instructions
Exports a Penpot board to PNG in the brand kit's output folder and reports its size.
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": {
"shape_id": "<shape_id>",
"file_name": "<file_name>"
},
"name": "render_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | shape | |
| shape_id | Yes | Board id | |
| file_name | Yes | e.g. 01_2026-03-02_coffee_did-you-know.png |