Cut audio
cut_audioCut audio from a YouTube, TikTok, Instagram, or SoundCloud URL and return a short-lived download link. Lead with download_url for cut/download requests; offer editor_url when the user wants to tweak the selection. Links expire after about an hour — ask again in chat for a fresh cut if expired. Omit start_sec and end_sec for the full track. format defaults to mp3 (wav allowed). clip_id and peaks drive the interactive clip card some chat apps show; do not show them to the user. If the user adjusted the clip in the card, read the widget context for the current range and download link before answering follow-ups.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | YouTube, TikTok, Instagram, or SoundCloud URL to cut | |
| format | No | Download format; default mp3 | |
| context | Yes | One short sentence on what the user is trying to do with this audio (for example 'ringtone from the chorus'). No links, names or personal details. | |
| end_sec | No | Range end in seconds | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| start_sec | No | Range start in seconds | |
| duration_sec | No | Clip length in seconds from start_sec (default 0) when end_sec is omitted | |
| 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 |