Screenshot
screenshotCapture a macOS app window or specific UI node to a PNG image, rendered in-process without requiring screen recording permission.
Instructions
Render a window (or a single node via selector) to PNG. Rendered in-process by the app — no Screen Recording permission.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | Window id; defaults to the key window. | |
| selector | No | Limit the capture to one node. e.g. "#save", Button "Save". |