audio_compress
Compress audio toward a target file size (targetFileSize such as "2MB"; default half the original)
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": {
"fileBase64": "<fileBase64>"
},
"name": "audio_compress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileBase64 | Yes | The input file as a base64 string, without a data: prefix. | |
| targetFileSize | No | Wanted size of the result, for example: 2MB or 500KB. Best effort. |