concatenate_videos
Combine multiple video files into a single output file. Optionally add crossfade transitions when merging exactly two videos.
Instructions
Concatenates multiple video files into a single output file. Supports optional xfade transition when concatenating exactly two videos.
Args: video_paths: A list of paths to the video files to concatenate. output_video_path: The path to save the concatenated video file. transition_effect: The xfade transition type (e.g., 'dissolve', 'fade', 'wipeleft'). Only applied if exactly two videos are provided. Defaults to None. transition_duration: The duration of the xfade transition in seconds. Required if transition_effect is specified. 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": {
"video_paths": "<video_paths>",
"output_video_path": "<output_video_path>"
},
"name": "concatenate_videos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_paths | Yes | ||
| output_video_path | Yes | ||
| transition_effect | No | ||
| transition_duration | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |