Set Studio Timeline
set_studio_timelineReplace a project's whole timeline — tracks, clips and media. This OVERWRITES the existing timeline, so read it with get_studio_project first and send the full document back, not a fragment. Every clip must reference a track that exists, and video/image/audio clips must reference media that exists; the request is rejected with the offending clip named if not. totalDuration is computed server-side.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"studioId": "<studioId>",
"tracks": "<tracks>",
"clips": "<clips>",
"media": "<media>"
},
"name": "set_studio_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clips | Yes | ||
| media | Yes | ||
| tracks | Yes | ||
| studioId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| canvas | No | ||
| counts | No | ||
| shared | No | ||
| projectId | No | ||
| aiProvenance | No | ||
| isSharePublic | No | ||
| sourceVideoId | No | ||
| totalDuration | No |