clip_set_transform
Adjust a timeline clip's pan, tilt, zoom, rotation, anchor, and flip settings to position and reframe it in DaVinci Resolve.
Instructions
Set item transform: pan/tilt (pixels), zoom, rotation (degrees), anchor, flips.
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": "clip_set_transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pan | No | ||
| tilt | No | ||
| flipX | No | ||
| flipY | No | ||
| zoomX | No | ||
| zoomY | No | ||
| itemId | No | Timeline item unique id (from timeline_get_clips) | |
| anchorX | No | ||
| anchorY | No | ||
| rotation | No | ||
| timeline | No | Timeline name or id (default: current timeline) | |
| itemIndex | No | 1-based position of the clip on the track (transitions are not counted) | |
| trackType | No | video | |
| trackIndex | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True only when DaVinci Resolve confirmed the operation. | |
| data | No | ||
| tool | Yes | ||
| error | No | ||
| source | No | Where the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone. | |
| status | Yes | ||
| message | Yes | ||
| warnings | Yes |