record_video
Record a video of the iOS Simulator screen to capture app behavior. Specify the simulator UDID, codec, display, and output path to save recordings for testing or documentation.
Instructions
Records a video of the iOS Simulator using simctl directly
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | No | For non-rectangular displays, handle the mask by policy: "ignored", "alpha", or "black". | |
| udid | No | Udid of target, can also be set with the IDB_UDID env var | |
| codec | No | Specifies the codec type: "h264" or "hevc". Default is "hevc". | |
| force | No | Force the output file to be written to, even if the file already exists. | |
| display | No | Display to capture: "internal" or "external". Default depends on device type. | |
| 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. |