start_app
Launch an Electron app with remote debugging enabled and optionally configure the DevTools port, extra CLI arguments, or main-process inspection for debugging.
Instructions
Start an Electron application with remote debugging enabled. Example: {"appPath":"D:/apps/my-electron-app","debugPort":9222}
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": {
"appPath": "<appPath>"
},
"name": "start_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appPath | Yes | Path to the Electron app (directory or main script) | |
| debugPort | No | Optional Chrome DevTools debugging port (default: random 9222-9999) | |
| extraArgs | No | Optional extra Electron CLI args (e.g. ["--no-sandbox"] for CI/containers) | |
| inspectMain | No | If true, open a pinned --inspect port for main-process tools: evaluate_main, main_state, ipc_tap, get_ipc_log, webcontents_topology, open_deep_link, focus_window, set_window_bounds, get_clipboard, set_clipboard, get_downloads, set_permission |