switch_window
Switch the active window in Electron apps to control different application windows for automated testing or interaction tasks.
Instructions
Make a different BrowserWindow the "current" one that subsequent tools drive. Pass index (from windows_list) or titleMatch (substring of window title). The driver will focus the target window and route all future click/type/eval calls to it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "switch_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| titleMatch | No |