tool_add_text
Add a text layer.
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": {
"design_id": "<design_id>",
"text": "<text>"
},
"name": "tool_add_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| font | No | Font from list-fonts | |
| name | No | Layer name | |
| size | No | ||
| text | Yes | Text | |
| align | No | left|center|right | |
| color | No | Color | |
| width | No | ||
| weight | No | normal|bold | |
| design_id | Yes | Design id from create-design |