focus_main_window
Brings the Electron main window to the foreground for a specified session, so automated tests can interact with the active app window.
Instructions
Focus Electron main window
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": {
"sessionId": "<sessionId>"
},
"name": "focus_main_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes |