Set composition settings
set_comp_settingsUpdate multiple composition settings in one call, changing only supplied keys and returning changed keys plus new values; width/height edits do not move layers.
Instructions
Change any composition settings in one call; only passed keys change. Returns the list of changed keys and the new settings. Note: changing width/height here does NOT move layers (use resize_comp to scale content, crop_comp_to_region to crop).
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": "set_comp_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| name | No | Rename the comp. | |
| width | No | Width in px (4-30000). Layers are not moved. | |
| height | No | Height in px (4-30000). Layers are not moved. | |
| bgColor | No | Background color. | |
| draft3d | No | Draft 3D mode. | |
| duration | No | Comp duration (seconds, 'Nf' or timecode). For layer-aware changes use set_comp_duration. | |
| renderer | No | 3D renderer: 'classic3d', 'advanced3d', 'cinema4d', or a raw id from get_comp_info.renderers (e.g. 'ADBE Advanced 3d'). | |
| dropFrame | No | Drop-frame timecode (29.97/59.94 fps). | |
| frameRate | No | Frames per second (1-999). | |
| motionBlur | No | Comp motion blur switch (enables blur for layers with their MB switch on). | |
| pixelAspect | No | Pixel aspect ratio, e.g. 1 or 0.9. | |
| shutterAngle | No | Shutter angle in degrees (0-720). | |
| shutterPhase | No | Shutter phase in degrees (-360 to 360). | |
| frameBlending | No | Comp frame blending switch. | |
| hideShyLayers | No | Hide layers whose shy switch is on in the timeline. | |
| displayStartTime | No | Timecode/frame number the comp timeline starts at (seconds). | |
| resolutionFactor | No | Preview resolution: 'full'|'half'|'third'|'quarter', a factor (2 = half) or [x,y]. | |
| preserveNestedFrameRate | No | Preserve frame rate when nested or in render queue. | |
| preserveNestedResolution | No | Preserve resolution when nested. | |
| motionBlurSamplesPerFrame | No | Motion blur samples per frame (2-64). | |
| motionBlurAdaptiveSampleLimit | No | Adaptive sample limit (16-256). |