create_textboxes
Add textboxes to a mural with specified content, position, and appearance. Text automatically wraps to fit the set width.
Instructions
Create one or more textbox widgets on a mural (limit 1000). Textboxes wrap text to fixed width.
Each widget object supports:
- text: The textbox text (supports HTML: <b>, <i>, <u>, <s>, <span style="color:...">>).
- x, y: Position in px (default 0).
- width: Width in px (default 296).
- height: Height in px (default 28).
- style: { backgroundColor, font, fontSize (default 24), textAlign }.
- parentId: ID of parent area widget.
Args:
mural_id: The mural ID.
widgets: Array of textbox objects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| widgets | Yes | ||
| mural_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |