Set Scale To Frame Size
set_scale_to_frame_sizeEnable the Scale to Frame Size option for a timeline clip or project item so media fills the sequence frame. Accepts clip ID or project item ID/name.
Instructions
Enable 'Scale to Frame Size' so media fills the sequence frame. Accepts a timeline clip node ID (active sequence, same IDs as get_clip_properties) or a project item node ID or name. A timeline clip is resolved first and its source project item is updated through ProjectItem.setScaleToFrameSize(). ExtendScript exposes no getter for this flag, so the result is committed_unverified unless the timeline clip's Motion > Scale reads back changed (verified). Check with get_clip_properties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | Timeline clip node ID in the active sequence, or project item node ID or name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. |