Create paragraph (box) text
create_paragraph_textCreates a paragraph text layer that wraps text inside a centered box of specified width and height, supporting style options, alignment settings, and optional custom positioning.
Instructions
Create a paragraph text layer: text wraps inside a box of boxSize [w, h]. The box is centered on the layer origin, so 'position' (default comp center) is the box center. Same style fields as create_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": {
"text": "<text>",
"boxSize": "<boxSize>"
},
"name": "create_paragraph_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| name | No | Layer name. | |
| text | Yes | Text content. '\n' = new paragraph. | |
| style | No | Text style. Only the fields you pass are changed. | |
| boxSize | Yes | [width, height] of the text box in px. | |
| position | No | [x, y] of the box center in comp pixels (default comp center). | |
| verticalAlignment | No | Vertical alignment inside the box (AE 24.6+). |