set_text_style
Update font, size, fill/stroke, spacing, caps, and justification on an existing After Effects text layer.
Instructions
Update text styling on an existing text layer. Any subset of font, fontSize, fillColor, strokeColor, strokeWidth, tracking, leading, applyFill, applyStroke, fauxBold, fauxItalic, allCaps, smallCaps, justification.
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": {
"layer": "<layer>"
},
"name": "set_text_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Comp: name (string), or { id: N } for duplicate-name-safe stable-id addressing. Defaults to active comp. | |
| font | No | ||
| layer | Yes | Layer: name (string), 1-based index (integer), or { id: N } for duplicate-name-safe stable-id addressing. | |
| allCaps | No | ||
| leading | No | ||
| fauxBold | No | ||
| fontSize | No | ||
| instance | No | Target a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances. | |
| tracking | No | ||
| applyFill | No | ||
| fillColor | No | ||
| smallCaps | No | ||
| fauxItalic | No | ||
| applyStroke | No | ||
| strokeColor | No | ||
| strokeWidth | No | ||
| justification | No |