Delete unused regions
cleanup_regionsDeletes every region that has no clip on the timeline (the GUI's Delete Unused Regions). The audio files stay in the package.
Instructions
Deletes every region that has no clip on the timeline (the GUI's Delete Unused Regions). The audio files stay in the package.
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": "cleanup_regions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 | |
| project | Yes | Path to the .audium project package (absolute paths recommended) |