screenshot_window
Capture PNG or JPG screenshots of specific macOS windows using window IDs for documentation, troubleshooting, or content creation purposes.
Instructions
Capture a PNG/JPG of a window by window_id.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"window_id": "<window_id>"
},
"name": "screenshot_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_id | Yes | ||
| output_path | No |