Clip Audio
clip_audioTrim one source recording into one or more hosted mp3 clips. Provide segments as [{start,end}] in seconds; returns { clips: [{url,start,end,bytes}] }. The clip URLs feed straight into clone_voice as sampleUrls. Scope required: generate:voice.
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": {
"audioUrl": "<audioUrl>",
"segments": "<segments>"
},
"name": "clip_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audioUrl | Yes | Public URL of the source recording to cut. | |
| segments | Yes | Windows to cut (1–25); each becomes one hosted mp3 clip. |