Get text info
get_text_infoRetrieves complete metadata for an After Effects text layer, including font, size, colors, bounds, Source Text keyframes, animators, and optional per-character style runs.
Instructions
Full information about a text layer: the complete text document (font, size, colors, leading, tracking, box size, paragraph and line counts...), bounds (sourceRectAtTime, layer space), Source Text keyframes, all text animators with their properties and selectors, path options and more options. styleRuns=true adds per-character style runs (AE 24.3+).
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": "get_text_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| time | No | Time to sample (default comp current time). | |
| layer | Yes | Text layer: 1-based index, name, or {id}. | |
| styleRuns | No | Include runs of identical character styles (font/size/colors). |