set_audio_bitrate
Change the bitrate of an audio file to a specified value (e.g., 128k, 192k) and save the result to a new path.
Instructions
Sets the bitrate for an audio file.
Args: input_audio_path: Path to the source audio file. output_audio_path: Path to save the audio file with the new bitrate. bitrate: Target audio bitrate (e.g., '128k', '192k', '320k'). Returns: A status message indicating success or failure.
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_audio_path": "<input_audio_path>",
"output_audio_path": "<output_audio_path>",
"bitrate": "<bitrate>"
},
"name": "set_audio_bitrate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bitrate | Yes | ||
| input_audio_path | Yes | ||
| output_audio_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |