transcode_audio
Convert audio files between Opus, AAC, MP3, FLAC, and WAV, with optional EBU R128 loudness normalization and bitrate, channel, or sample-rate adjustments.
Instructions
Transcode audio. Codecs: opus (default), aac, mp3, flac (lossless), wav.
Set normalize=true for EBU R128 loudness normalization (-16 LUFS).
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": {
"input": "<input>",
"output": "<output>"
},
"name": "transcode_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codec | No | opus | |
| input | Yes | ||
| output | Yes | ||
| bitrate | No | ||
| channels | No | ||
| normalize | No | ||
| overwrite | No | ||
| sample_rate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||