audio_convert
Convert audio files among MP3, WAV, FLAC, AAC, and OGG, or extract audio from video into those formats. The output extension must match the selected format.
Instructions
Convert audio to mp3, wav, flac, aac or ogg. A video input keeps only its audio. The output extension must match the format.
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_path": "<input_path>",
"output_path": "<output_path>",
"format": "<format>"
},
"name": "audio_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| overwrite | No | ||
| input_path | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| output_path | Yes | ||
| output_bytes | Yes |