Adjust clip
retrim_clipRe-cut a clip from Samplecut's clip card to a new start/end, reusing the audio already extracted for it. Called by the interactive card; to cut something new, use cut_audio.
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": {
"clip_id": "<clip_id>",
"start_sec": "<start_sec>",
"end_sec": "<end_sec>"
},
"name": "retrim_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Download format; default the clip's current format | |
| clip_id | Yes | clip_id from a cut_audio result | |
| context | No | Optional: why the clip is being re-cut | |
| end_sec | Yes | New range end in seconds | |
| llm_model | No | Optional: the model making this call | |
| start_sec | Yes | New range start in seconds | |
| conversation_id | No | Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | Yes | ||
| peaks | Yes | ||
| title | Yes | ||
| format | Yes | ||
| clip_id | Yes | ||
| end_sec | No | ||
| filename | Yes | ||
| start_sec | No | ||
| editor_url | Yes | ||
| expires_at | Yes | ||
| download_url | Yes | ||
| track_duration_sec | Yes |