record_video
Record video from iOS Simulator using simctl for testing, debugging, or documentation purposes. Specify output path, codec, display, and mask settings to capture simulator activity.
Instructions
Records a video of the iOS Simulator using simctl directly
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | Optional output path. If not provided, a default name will be used. The file will be saved in the directory specified by `IOS_SIMULATOR_MCP_DEFAULT_OUTPUT_DIR` or in `~/Downloads` if the environment variable is not set. | |
| codec | No | Specifies the codec type: "h264" or "hevc". Default is "hevc". | |
| display | No | Display to capture: "internal" or "external". Default depends on device type. | |
| mask | No | For non-rectangular displays, handle the mask by policy: "ignored", "alpha", or "black". | |
| force | No | Force the output file to be written to, even if the file already exists. |