Focus macOS or Windows app by process ID
exza_desktop_focus_windowDESKTOP ACTION: Focus a visible macOS or Windows app window using the PID from exza_desktop_windows. macOS requires Accessibility; Windows may deny focus under secure desktop or process integrity restrictions. Requires owner approval.
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": {
"pid": "<pid>"
},
"name": "exza_desktop_focus_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes |