extract_audio
Extract the audio track from a video and save it as an MP3 file. Provide the source video path and the destination MP3 path.
Instructions
Extract the audio track from a video file and save it as an MP3.
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>"
},
"name": "extract_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | Source video path. Relative paths resolve against MEDIA_DIR (defaults to the server's working directory); absolute paths are used as-is. | |
| output_path | Yes | Destination .mp3 path. Relative paths resolve against MEDIA_DIR (defaults to the server's working directory); absolute paths are used as-is. |