screen_record
Record iOS simulator screen as MP4 video for a specified duration. Provide the simulator UDID and optional length to capture test scenarios.
Instructions
Record the simulator screen as MP4 for a specified duration
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": {
"deviceId": "<deviceId>"
},
"name": "screen_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | Simulator UDID | |
| duration | No | Recording duration in seconds (default: 10) | |
| outputPath | No | Output file path (auto-generated if not set) |