ae_shape
Create, inspect, and edit After Effects shape layers: add groups and elements, get or set paths, apply the 10 shape operators, and explode groups into separate layers.
Instructions
Shape layer tools including Explode Shape Layers (explode_groups with automatic geometric anchor centering) and ALL 10 shape modifiers (merge, offset, pucker_bloat, repeater, round_corners, trim, twist, wiggle_paths, wiggle_transform, zig_zag). Actions: inspect, add_group, add_element, path_get, path_set, operator_add, operator_set, explode_groups.
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": {
"action": "<action>",
"layer": "<layer>"
},
"name": "ae_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | ||
| name | No | ||
| path | No | ||
| group | No | Dotted group path inside Contents (omitted = root Contents). | |
| layer | Yes | ||
| shape | No | Array of [x,y] vertices, {preset, center, size}, or {vertices, inTangents, outTangents, closed}. | |
| action | Yes | ||
| atTime | No | ||
| moveTo | No | ||
| params | No | ||
| element | No | ||
| operator | No | ||
| transform | No | ||
| namePrefix | No | ||
| centerAnchor | No | Auto-center each exploded layer's anchor point to its geometry bounds (default true). | |
| keepOriginal | No | What to do with original layer after explode_groups (default 'hide'). | |
| operatorIndex | No |