mac_windows
List macOS on-screen windows with IDs, app names, PIDs, titles, bounds, and display info; include hidden or minimized windows and filter results by app.
Instructions
List on-screen windows (include_offscreen:true adds hidden and minimized ones): id (CGWindowID), app, pid, title, bounds [x,y,w,h], plus displays. Titles come from accessibility when Screen Recording is not granted. app filters by app name.
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": "mac_windows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | ||
| include_offscreen | No |