Screenshot the simulator
ios_screenshotCapture the iOS Simulator screen as an image to see what the app is showing right now. Optionally target a specific device and downscale the longest side to a set pixel size.
Instructions
Captures the simulator screen and returns it as an image. Use it to see what the app is showing right now.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ios_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Simulator udid or name. Default "booted" (the running simulator). | |
| maxDimension | No | Downscale so the longest side is at most this many px (default 900; 0 keeps the original size). |