record_window_duration
Record a specific window for a set duration to create an MP4 video with customizable frame rate and optional system audio capture.
Instructions
Record a window for a fixed duration (seconds) to an MP4. fps defaults to 10. system_audio records global system audio.
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": {
"window_id": "<window_id>",
"duration_seconds": "<duration_seconds>"
},
"name": "record_window_duration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_id | Yes | ||
| duration_seconds | Yes | ||
| fps | No | ||
| system_audio | No | ||
| output_path | No |