Capture Electron Scenario
capture_electron_scenarioExecute provider-owned Electron scenarios with caller-defined clicks, waits, reloads, crashes, and deep links when passive observation cannot exercise behavior; return process, session, IPC evidence.
Instructions
Use this for a provider-owned Electron run when passive CDP or Inspector observation cannot exercise application behavior. REA owns startup and teardown, accepts caller-defined click/wait actions plus window-targeted renderer reload/crash and synthetic open-url/second-instance delivery, and returns correlated window/WebContents/process/preload/session/navigation/shell/IPC evidence without retaining payload values. Actions wait for completion or request cancellation; a missing click target can keep the request pending. Results identify observed and unavailable event families, coverage status, action targets, and truncation. Cleanup failures retain collected observations with explicit cleanup uncertainty. External shell, navigation, permission, download, popup, updater, and OS-integration effects are blocked and recorded. Use passive Electron tools for observation-only work.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"args": [],
"actions": [
{
"kind": "click",
"step_id": "exercise-ipc",
"selector": "#run"
}
],
"executable_path": "/Applications/Electron.app/Contents/MacOS/Electron",
"application_path": "/Applications/Example.app/Contents/Resources/main.js"
},
"name": "capture_electron_scenario"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| actions | No | ||
| executable_path | Yes | Absolute local filesystem path for the Electron executable; relative paths are rejected. | |
| application_path | Yes | Absolute local filesystem path for the Electron application; relative paths are rejected. | |
| application_root | No | Absolute local filesystem root for application-relative paths; omit to derive it from the application path. Relative paths are rejected. |