video_compress
Compress a video toward a target file size (targetFileSize such as 25MB; default half the original) -- two-pass encode, a floor bitrate is enforced below which quality degrades too much to be worth watching
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": "video_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. |