list_mac_app_windows
Lists all on-screen macOS application windows with their CGWindow IDs for capturing specific window screenshots.
Instructions
List all on-screen macOS application windows with their CGWindow IDs.
These window IDs can be used to capture screenshots of a given window
or app with take_app_screenshot or take_window_screenshot.
Returns:
A formatted list of windows grouped by application, including window IDs
that can be used with take_window_screenshot.
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": "list_mac_app_windows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |