screenshot
Capture screenshots from iOS simulators to save visual states for testing, debugging, or documentation purposes.
Instructions
Takes a screenshot of the iOS Simulator
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | Udid of target, can also be set with the IDB_UDID env var | |
| output_path | Yes | File path where the screenshot will be saved. If relative, it uses the directory specified by the `IOS_SIMULATOR_MCP_DEFAULT_OUTPUT_DIR` env var, or `~/Downloads` if not set. | |
| type | No | Image format (png, tiff, bmp, gif, or jpeg). Default is png. | |
| display | No | Display to capture (internal or external). Default depends on device type. | |
| mask | No | For non-rectangular displays, handle the mask by policy (ignored, alpha, or black) |