create_shape_with_text
Create FigJam shapes with editable text for flowcharts and diagrams, including rounded rectangles, cylinders, and queues, with control over size, fill, stroke, and font.
Instructions
Create a FigJam shape with text, e.g. flowchart boxes (FigJam only). shapeType ENG_DATABASE = cylinder, ENG_QUEUE = horizontal cylinder. Default ROUNDED_RECTANGLE 208x208.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_shape_with_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| fill | No | Hex, or 'none' | |
| name | No | ||
| text | No | ||
| width | No | ||
| height | No | ||
| stroke | No | Hex, or 'none' | |
| fontSize | No | ||
| parentId | No | ||
| shapeType | No | ||
| textColor | No | Hex | |
| strokeWeight | No |