Read After Effects Project
aftereffects_read_projectRead the composition shared by your After Effects panel: its settings, every layer with its key (L1, L2…), in and out frames, transform and expressions (a property with keyframes or an expression switched on shows its own value at the first frame, before the expression, so it is not what is on screen at the playhead; app.query with what property and a frame gives the value at that frame; the words of a text layer are likewise its own words, and a text.set range counts characters in those words), the project items, output templates and the render queue, plus a revision. Inspect readAt for freshness. Right after an edit it waits a few seconds for the composition after that edit and never returns the one from before it: an error asks you to read again, and editRunning means the edit has not finished. Layer keys can shift after every edit, so always read again after done. No footage bytes. First call aftereffects_list_connections to get the deviceId of your connected After Effects panel.
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": {
"deviceId": "<deviceId>"
},
"name": "aftereffects_read_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | The id of your connected After Effects panel, from aftereffects_list_connections. |