monitor_events
Capture Electron lifecycle events such as crashes, unresponsive states, and navigation changes in the main process. Start or stop recording to monitor app behavior.
Instructions
Start or stop capturing Electron lifecycle events in the main process: render-process-gone (crashes), unresponsive, navigation (did/will-navigate, redirects), window and webContents creation, child-process-gone. Read with get_event_log.
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>",
"action": "<action>"
},
"name": "monitor_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Start or stop recording. | |
| sessionId | Yes | Session id returned by launch_app. |