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.
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": "screenshot_mac"
}
}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. |