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.
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": {
"mural_id": "<mural_id>",
"widgets": "<widgets>"
},
"name": "create_textboxes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| widgets | Yes | ||
| mural_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |