Render in After Effects
aftereffects_renderRender the shared composition with aerender in the background and put the movie in the Switch library. The project must be saved. Poll aftereffects_edit_status until done; result.assetId is the library asset every other Switch tool can use. Start with a short range (a 3 second draft) before a full render. Times are whole composition frames; read frameRate and durationFrames first. Supply projectId, compId and revision from a fresh read. One operation per request; use the same requestId for retries. Queued does not mean edited: only a done status means After Effects reported a verified readback. Nothing is charged. 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>",
"requestId": "<requestId>",
"projectId": "<projectId>",
"compId": "<compId>",
"revision": "<revision>",
"outputTemplate": "<outputTemplate>",
"filename": "<filename>"
},
"name": "aftereffects_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| start | No | ||
| compId | Yes | ||
| deviceId | Yes | The id of your connected After Effects panel, from aftereffects_list_connections. | |
| filename | Yes | ||
| revision | Yes | ||
| projectId | Yes | ||
| requestId | Yes | ||
| outputTemplate | Yes |