Merge audio
merge_audioJoin MP3 or M4A files into one track in the order given without re-encoding. Use it when clips share the same format, sample rate and channels; returns the saved path and duration.
Instructions
Join two or more MP3 files, or two or more M4A files, into one track in the order given, without re-encoding. The files must share the same format, sample rate and channels; otherwise an error explains the mismatch. Returns the saved path and total duration; inputs are not changed.
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": {
"files": "<files>"
},
"name": "merge_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Audio paths, in order. | |
| output | No | Where to save the result. Defaults to a new file next to the input. |