mac_window
Focus, raise, minimize, restore, move, resize, maximize, fullscreen, or exit fullscreen a macOS window by ID or app and window title/index, then verify by re-reading it.
Instructions
Focus, raise, minimize, restore, move (x,y), resize (width,height), maximize (fill the display's visible area), fullscreen or exit_fullscreen a window, chosen by window_id (from mac_windows) or app + window (index or title); verified by reading the window again.
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": {
"action": "<action>"
},
"name": "mac_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| app | No | ||
| width | No | ||
| action | Yes | ||
| height | No | ||
| window | No | ||
| window_id | No |