batch_create
Create multiple FigJam elements in one call to build entire diagrams at once. Pass an array of shapes, stickies, text, sections, and connectors, using refId to wire connections within the same batch.
Instructions
Create multiple elements in a single call — ideal for building entire diagrams at once. Accepts an array of element specs. Use refId on elements and reference them in connector startElementId/endElementId to wire up connections within the same batch. Elements are created in order (create sections first, then shapes, then connectors). Returns all created element IDs mapped to their refIds.
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": {
"elements": "<elements>"
},
"name": "batch_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | Yes | Array of elements to create. Order: sections first, then shapes/stickies/text, then connectors |