extract_audio
Extract the audio track from a video file and save it as a standalone audio file. Choose from MP3, AAC, FLAC, WAV, or OGG output formats.
Instructions
Extract the audio track from a video file and save it as a standalone audio file.
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": {
"file_path": "<file_path>"
},
"name": "extract_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the input video file | |
| output_path | No | Absolute path for the output audio file. Defaults to same directory with '_audio' suffix. | |
| output_format | No | Audio format: mp3, aac, flac, wav, or ogg. Defaults to mp3. |