Create composition
create_compCreates a new After Effects composition from a size preset or custom dimensions, optionally places it in a project folder, and opens it in the viewer.
Instructions
Create a new composition. Size comes from 'preset' or width/height (default 1920x1080), 30 fps, 10 s, square pixels. Optionally put it in a project folder (created if missing) and open it in the viewer. Returns the full comp description (id, settings).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_comp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Comp name (default 'Comp N'). | |
| open | No | Open the new comp in the viewer (makes it active). Default false. | |
| width | No | Width in pixels (4-30000). | |
| folder | No | Project folder name, 'A/B' path or id. A missing name/path is created at the project root. | |
| height | No | Height in pixels (4-30000). | |
| preset | No | Size preset; width/height override it. Valid: '1080p' (1920x1080), '720p', '4k'/'uhd' (3840x2160), 'dci4k' (4096x2160), '2k', '1440p', '8k', '480p', 'instagram_square' (1080x1080), 'instagram_portrait' (1080x1350), 'instagram_story'/'instagram_reel'/'youtube_short'/'tiktok'/'vertical' (1080x1920), 'youtube', 'twitter' (1280x720), 'facebook_cover' (1640x624). | |
| bgColor | No | Background color '#RRGGBB' or [r,g,b] (default black). | |
| duration | No | Duration: seconds, '120f' frames or timecode (default 10 s). | |
| frameRate | No | Frames per second (default 30). | |
| pixelAspect | No | Pixel aspect ratio (default 1). |