electron_generate_window_manager
Generates multi-window management boilerplate for Electron apps, creating a WindowManager class for lifecycle, IPC, state persistence, and cleanup.
Instructions
Generate multi-window management boilerplate for Electron apps. Creates a WindowManager class that handles window lifecycle, inter-window communication, window state persistence, and proper cleanup. Supports common patterns like main + child windows, modal dialogs, and detached panels.
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": {
"windows": "<windows>"
},
"name": "electron_generate_window_manager"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| windows | Yes | Windows to manage | |
| persistState | No | Whether to persist window positions/sizes across restarts (default true) |