Auto-edit clip
auto_editSegments a clip on a track using cached analysis results (run analyze first). Splits the clip into musically-aligned regions.
Instructions
Segments a clip on a track using cached analysis results (run analyze first). Splits the clip into musically-aligned regions.
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": {
"project": "<project>"
},
"name": "auto_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | No | Playlist item id (default: the track's clip) | |
| task | No | Name of the task this edit is part of, e.g. "remove speech pauses". In the open app, all edits with the same task name become one undo step: keep the name for every call of the task and change it when the next task starts. Without a task name, all edits of this session share one step | |
| track | No | Track id (default 0; imported audio lands on a new track) | |
| project | Yes | Path to the .audium project package (absolute paths recommended) | |
| measures | No | Segment length in measures | |
| segments | No | Number of segments | |
| crossfades | No | Apply crossfades at joints (default true) | |
| duration_seconds | No | Target duration |