Create shapes from text
text_to_shapesConverts one After Effects text layer into editable shape layer(s) and returns them, with an option to delete the source text layer after conversion.
Instructions
Run AE's 'Create Shapes from Text' on one text layer: opens the comp in the viewer, selects only that layer and runs the menu command. Returns the new shape layer(s); the text layer is hidden (or deleted with deleteTextLayer).
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": "text_to_shapes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| name | No | Name for the new shape layer. | |
| layer | Yes | Text layer: 1-based index, name, or {id}. | |
| deleteTextLayer | No | Delete the source text layer afterwards (default false: AE just hides it). |