add_text_layer
Creates and inserts a text layer into an After Effects composition, with optional layer name, pixel position, and target composition ID for precise placement.
Instructions
Creates and adds a text layer to the composition.
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>"
},
"name": "add_text_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Layer name (optional). | |
| text | Yes | Text content to display. | |
| position | No | Optional [X, Y] coordinates in pixels. | |
| composition_id | No | Optional composition item ID. |