offline_resilience_check
Simulate offline, latency, or HTTP 500 faults during Electron app interactions to detect crashes and unhandled rejections, restore network, and return a Resilience Grade.
Instructions
Audit how gracefully the Electron app handles network loss, high latency, or HTTP 500 server faults during interactions. Emulates faults, checks for crashes or unhandled rejections, restores network, and computes a Resilience Grade (A-F).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "offline_resilience_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Optional user action to trigger during network disruption | |
| targetId | No | ||
| faultType | No | Type of network disruption to simulate (default 'offline') | |
| processId | No | Process ID. If omitted, uses the single running app. | |
| durationMs | No | Disruption window duration in ms (default 1000) | |
| urlPattern | No | URL pattern to intercept/fault (default '*') |