get_screenshot
Capture a screenshot from an iOS simulator with adjustable scale, format, and quality. Use for debugging, documentation, or visual feedback.
Instructions
Capture a screenshot from the simulator with resizing and format options.
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_id": "<device_id>"
},
"name": "get_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Scale factor 0.1-1.0 | |
| format | No | Image format | jpeg |
| quality | No | JPEG quality 1-100 | |
| device_id | Yes | Simulator UDID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |