simctl_screenshot
Capture screenshots of iOS simulator devices by providing device UDID or name, output path, image format, and display target.
Instructions
Take a screenshot of a simulator device.
Args: device: Device UDID, name, or 'booted' for current device output_path: Path where to save the screenshot format: Image format (png, jpeg) display: Display to capture (internal, external)
Returns: Success message
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>",
"output_path": "<output_path>"
},
"name": "simctl_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | ||
| output_path | Yes | ||
| format | No | png | |
| display | No | internal |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |