simctl_io_screenshot
Capture screenshots from iOS simulators for testing and documentation. Specify device, output path, format, and display mask options.
Instructions
Capture a screenshot from a simulator
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": {
"device": "<device>"
},
"name": "simctl_io_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Device UDID, name, or "booted" | |
| output_path | No | Path to save the screenshot. If omitted, returns base64 image data | |
| type | No | Image format (default: png) | png |
| mask | No | Mask to apply for non-rectangular displays |