Window Focus
window_focusBrings a window (by window_id from list_windows) to the front and activates its app. window_not_found if it can't be resolved. Requires Accessibility permission.
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": "window_focus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_id | Yes | Window to bring to the front, from list_windows. Returns window_not_found if it cannot be resolved. |