simulator_screenshot
Captures a JPEG screenshot of the simulator screen and returns it inline in chat. Images are compressed to approximately 200–400 KB — enough detail for UI analysis without wasting context window tokens.JPEG is the default and recommended format for AI agents. The tool always captures a PNG internally, then applies JPEG compression (quality 60, hard cap 1.5 MB).
Parameters
Device UDID, name, or
"booted". Defaults to the currently booted simulator.Image format:
"jpeg" (default) or "png". JPEG is recommended for AI — smaller files, faster responses.Display to capture:
"internal" (default) or "external".How to handle the non-rectangular display mask:
"ignored", "alpha", or "black".Optional path to save a copy of the screenshot to disk. The image is always returned inline regardless of this parameter.
Return value
Returns an inline image followed by a text summary —Screenshot captured (jpeg, 312KB). If savePath is set, the summary includes Saved to: /path/to/file.
Example
simulator_list_devices
Lists all available iOS Simulator devices with their name, UDID, state, and runtime.Parameters
Filter the device list:
"all" (default), "booted" (running devices only), or "available" (available but not necessarily running).Return value
A pipe-delimited table:Example
simulator_list_apps
Lists all apps installed on the simulator with their display names and bundle IDs.Parameters
Device UDID, name, or
"booted". Defaults to the currently booted simulator.Include Apple system apps (Settings, Safari, etc.). Defaults to
false — only user-installed apps are returned.Return value
A sorted list of apps:Example
simulator_app_info
Fetches detailed metadata about a specific installed app: bundle ID, display name, version, application type, bundle path, data container path, minimum iOS version, and SDK.Parameters
The app’s bundle identifier, for example
"com.apple.mobilesafari".Device UDID, name, or
"booted". Defaults to the currently booted simulator.Return value
Example
simulator_get_clipboard
Reads the current text content of the simulator’s clipboard. Useful for verifying copy/paste behavior in your app.Parameters
Device UDID, name, or
"booted". Defaults to the currently booted simulator.Return value
The clipboard text as a string, or"(clipboard is empty)" if the clipboard has no content.
Example
simulator_get_screen_info
Returns diagnostic information about the Simulator window geometry and the mapping between simulator screen points and macOS screen coordinates. Use this when tap or swipe commands are landing in the wrong place.Parameters
Device UDID, name, or
"booted". Defaults to the currently booted simulator.Return value
| Field | Description |
|---|---|
| Window position | Top-left corner of the Simulator.app window in macOS screen coordinates |
| Content area | Pixel dimensions of the simulator’s display area (excluding title bar) |
| Device screen | The simulated device’s logical point dimensions (what you use for simulator_tap) |
| Scale factor | Retina multiplier (usually 2x or 3x) |
| scaleX / scaleY | Conversion factors from simulator points to macOS pixels |
