video_compress
Re-encode video files to reduce size with adjustable quality, resolution, and audio bitrate. Output as MP4 or WebM.
Instructions
Re-encode a video (default MP4/H.264). WebM is optional. Prefer video_extract_frames or prepare_for_ai for agent vision.
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": {
"path": "<path>"
},
"name": "video_compress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crf | No | ||
| path | Yes | ||
| job_id | No | ||
| container | No | mp4 | |
| max_height | No | ||
| audio_bitrate_k | No |