offline_resilience_check
Simulates offline, latency, and HTTP 500 faults during app interactions to check for crashes or unhandled rejections, restores network, and returns an A–F 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 '*') |