Extract audio
extract_audioExtract the audio track from a video file and save it as MP3, WAV, M4A, or FLAC. Isolate sound from video for editing or listening.
Instructions
Pull the audio track out of a video into its own file (mp3, wav, m4a, or flac).
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>"
},
"name": "extract_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Audio format (default mp3) | |
| input_path | Yes | Path to the source video | |
| output_path | No | Where to write the audio file |