get_audio_clip_file
Retrieves the audio file path, length, and sample rate for an arrangement or Session clip on a track, so you can locate and process the underlying audio.
Instructions
Path of the audio file behind an audio clip (for example a take just recorded with record_arrangement), with its length and sample rate.
Parameters:
track_index: The track holding the clip
clip_index: Arrangement clip index (get_arrangement_clips) or Session slot
location: "arrangement" (default) or "session"
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": {
"track_index": "<track_index>",
"clip_index": "<clip_index>"
},
"name": "get_audio_clip_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | arrangement | |
| clip_index | Yes | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |