switch_to_window
Redirect focus to a specific window using its handle, enabling automated UI interaction with targeted applications.
Instructions
Switch focus to a different window by its handle (from get_window_handles).
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": {
"handle": "<handle>"
},
"name": "switch_to_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | Window handle to switch to (from get_window_handles) |