create_shapes
Create shape widgets on a Mural by specifying position, shape type, text, and styling. Add one or more shapes to build diagrams and flowcharts.
Instructions
Create one or more shape widgets on a mural (limit 1000).
Each widget object supports:
- x, y (required): Position in px.
- shape (required): One of: ellipse, rectangle, rounded_square, rhombus_smart, triangle_smart,
hexagon_smart, pentagon_smart, diamond, process, decision, terminator, start, end, delay,
data, database, document, multiple_documents, predefined_process, manual_input, manual_loop,
preparation, stored_data, connector, merge, or, summing_junction, display, direct_data,
internal_storage, papertape, loop_limit, off_page_connector, cloud, cross, star, badge,
ribbon, step, trapezoid, octagon, speech_bubble_left, speech_bubble_right, speech_bubble_center,
thinking_bubble_left, thinking_bubble_right, arrow_right, arrow_left, arrow_down, arrow_top,
arrow_left_right, brace_left, brace_right, note_left, note_right, teardrop_bubble, right_triangle.
- text: Plain text content.
- htmlText: HTML-formatted text.
- width, height: Size in px (default 138).
- style: { backgroundColor, borderColor, borderStyle, borderWidth, bold, italic, underline, strike, font, fontColor, fontSize, textAlign }.
- parentId: ID of parent area widget.
Args:
mural_id: The mural ID.
widgets: Array of shape objects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| widgets | Yes | ||
| mural_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |