Edit timeline project
edit_projectChange a timeline project. Each entry in actions is an object with "action" set to one of the names get_project listed, plus that action's own arguments, applied in order: "the narration is two seconds too long" is one trim_clip. After a trim, add {"action":"transcribe"} in the same call so the captions follow the new cut (a small transcription charge, which also needs the pipelines:run scope). The edit is saved and the previous version kept for undo_project_edit. Saving is not rendering: follow with render_project when the person wants the corrected video. Up to 25 actions a call. Needs the pipelines:write scope.
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": {
"projectId": "<projectId>",
"actions": "<actions>"
},
"name": "edit_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actions | Yes | Arguments use the snake_case names get_project lists. Example: [{"action":"trim_clip","clip_id":"clip_3","end_sec":12.4},{"action":"transcribe"}]. | |
| projectId | Yes | From list_projects or open_run_in_timeline. |