Simulate fault
simulate_faultInject a fault into a device to simulate overheat, vibration, or combined issues, making it visible in telemetry and anomaly detection for testing.
Instructions
Inject a fault on a device so it becomes visible to get_telemetry and get_anomalies.
Inputs: device_id (required), fault_type ('overheat' | 'vibration' | 'combined', default 'overheat'), duration_seconds (default 300). The fault is treated as having started two minutes ago so it appears immediately in recent telemetry. Returns { fault: { id, device_id, type, started_at, ends_at, duration_ms }, message }. This tool mutates simulator state; it is not read only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Device to fault. Call list_devices for valid ids. | |
| fault_type | No | overheat: temperature spike; vibration: vibration spike; combined: both. | overheat |
| duration_seconds | No | How long the fault stays active from now, in seconds (10 to 3600). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fault | Yes | ||
| message | Yes |