update_segment
Modify properties of video or text segments in Statonic MCP projects, adjusting positioning, timing, cropping, and styling parameters to refine media content.
Instructions
Update one or more properties of an existing segment (video or text) and save.
Video segment writable properties: clipX, clipY — canvas position (-1=left/bottom, 0=center, 1=right/top) clipScale — scale (1.0 = fill canvas height, <1 = smaller, >1 = larger) scaleKeyframes — array of {timeMs: number, scale: number} for zoom animations (use add_zoom_keyframes tool instead) cropLeft, cropRight, cropTop, cropBottom — crop fractions 0–1 startUs, durationUs — timeline position / length in microseconds sourceStartUs, sourceDurationUs — source trim in microseconds
Text segment writable properties: text, x, y, fontSize, color, bold, italic, strokeEnabled, strokeColor, textAlign, textScale, startUs, durationUs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the .json project file | |
| id | Yes | Segment ID (from read_project output) | |
| patch | Yes | Key/value pairs to update on the segment (partial update) |