create_shape
Create resizable diagram shapes with text, colors, and custom sizes to build clear FigJam diagrams.
Instructions
Create a shape with text — the PRIMARY building block for diagrams. Resizable to any size. See figjam://schema for shape types, colors, and sizing guide.
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": {
"shapeType": "<shapeType>"
},
"name": "create_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position (default: 0) | |
| y | No | Y position (default: 0) | |
| text | No | Text inside the shape | |
| color | No | Shape fill color. ALWAYS prefer LIGHT_* variants for readable dark text on light background (default: LIGHT_BLUE) | |
| width | No | Width in px (default: 200). Shapes are resizable to any size | |
| height | No | Height in px (default: 100). Shapes are resizable to any size | |
| shapeType | Yes | Shape type — pick the shape that best matches the element semantics |