Set Scale Width Height
set_scale_width_heightSet independent width and height scale on a clip: disables Uniform Scale, writes both values, and verifies they read back to confirm the resize.
Instructions
Set independent width and height scale on a clip. Turns Uniform Scale off, writes Motion > Scale Width (width) and Motion > Scale (which Premiere uses as the height once Uniform Scale is off), then reads all three back. Fails when a value does not read back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | Node ID of the clip | |
| scale_width | Yes | Scale width percentage (0-10000) | |
| scale_height | Yes | Scale height percentage (0-10000). Written to Motion > Scale, which is the height when Uniform Scale is off. |
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. |