record_and_extract
Record a screen target for a fixed duration and automatically extract frames into a separate directory in one call.
Instructions
Record a target for a fixed duration and extract frames in one call.
Use this when the recording length is known up front and no interactive
manual stop is needed. duration_seconds is required.
output_dir receives the captured recording file (recording.mov for macOS and
iOS Simulator, recording.mp4 for Android) and a frames/ directory containing
extracted images.
options are forwarded to start_recording. extract_options are forwarded to
extract_frames, including mode, scene_threshold, fps, max_frames,
inline_images, and rotate_degrees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Same vocabulary as start_recording.target. | |
| duration_seconds | Yes | Required. This tool has no manual-stop path; use start_recording + stop_recording for unknown-duration captures. | |
| output_dir | Yes | Absolute directory. Receives recording.mov (macOS/iOS) or recording.mp4 (Android) plus a frames/ subdir. | |
| options | No | Forwarded to start_recording.options. | |
| extract_options | No | Forwarded to extract_frames. Accepts mode, scene_threshold, fps, max_frames, inline_images, rotate_degrees. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||