record_video
Capture videos of iOS Simulator activity using simctl. Customize output path, codec, display, and mask settings for precise recording needs.
Instructions
Records a video of the iOS Simulator using simctl directly
Input Schema
Name | Required | Description | Default |
---|---|---|---|
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. | |
force | No | Force the output file to be written to, even if the file already exists. | |
mask | No | For non-rectangular displays, handle the mask by policy: "ignored", "alpha", or "black". | |
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. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"codec": {
"description": "Specifies the codec type: \"h264\" or \"hevc\". Default is \"hevc\".",
"enum": [
"h264",
"hevc"
],
"type": "string"
},
"display": {
"description": "Display to capture: \"internal\" or \"external\". Default depends on device type.",
"enum": [
"internal",
"external"
],
"type": "string"
},
"force": {
"description": "Force the output file to be written to, even if the file already exists.",
"type": "boolean"
},
"mask": {
"description": "For non-rectangular displays, handle the mask by policy: \"ignored\", \"alpha\", or \"black\".",
"enum": [
"ignored",
"alpha",
"black"
],
"type": "string"
},
"output_path": {
"description": "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.",
"maxLength": 1024,
"type": "string"
}
},
"type": "object"
}