Run code in Penpot
penpot_executeRun JavaScript in the Penpot plugin to build or modify a social post's board using penpot, penpotUtils, and storage; keep each call focused on one step.
Instructions
Runs JavaScript in the Penpot plugin (objects: penpot, penpotUtils, storage) to build or change a post's board. Keep each call to one step.
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": {
"code": "<code>"
},
"name": "penpot_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |