Focus Window
window_focusBring a specific window to the front by activating its owning app. Use with a window handle from window_list or window_get_active; requires Accessibility permission.
Instructions
Activate a window's owning app and raise the window. 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": {
"windowHandle": "<windowHandle>"
},
"name": "window_focus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| windowHandle | Yes | A windowHandle from window_list or window_get_active. |