See a Mac's screen
screenshot_macReturns the Mac's screen as an image: target screen (default) is the 1440x900 desktop, whose pixels are mac_input's coordinates; target simulator is the booted iOS Simulator. Also returns front_app, screen_locked, an open dialog with its buttons and next_step, and the JPEG's path on the Mac. Works on a ready Mac. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | screen (default): the whole macOS desktop. simulator: the booted iOS Simulator's display. | |
| session_id | No | Mac session ID (ses_…). Optional: without it, the account's running Mac. |