condense_media
Assembles and cuts the media file into a single consolidated, progressive FastStart MP4 or MP3 clip based on the selected highlight segments, without re-encoding quality loss (-c copy stream demuxing). Delivers direct streaming preview and full-speed download links.
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": {
"segments": "<segments>"
},
"name": "condense_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segments | Yes | List of [start_seconds, end_seconds] timestamp pairs to preserve and stitch together. | |
| file_path | No | Local file path on the user's computer. | |
| media_url | No | Publicly accessible HTTPS URL of the source media file. | |
| file_base64 | No | Base64-encoded raw binary data of the media file. | |
| output_format | No | Target container format. Defaults to mp4. | mp4 |