change_video_speed
Adjust video and audio playback speed by a positive factor, altering the duration to match the requested speed.
Instructions
Changes the playback speed of a video (and its audio).
Args: video_path: Path to the input video file. output_video_path: Path to save the speed-adjusted video file. speed_factor: The factor by which to change the speed (e.g., 2.0 for 2x speed, 0.5 for half speed). Must be positive. 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_path": "<video_path>",
"output_video_path": "<output_video_path>",
"speed_factor": "<speed_factor>"
},
"name": "change_video_speed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_path | Yes | ||
| speed_factor | Yes | ||
| output_video_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |