get_crash_history
Scans Windows event logs for crash-related errors, including bug checks, unexpected restarts, hardware errors, and application crashes, and labels known issues to explain why a PC crashed.
Instructions
Every critical and error event from the System and Application logs, explained.
This is the right first call for "why did my PC crash". It picks up bug checks, unexpected restarts, WHEA hardware errors, display driver resets, disk and file system errors, application crashes and hangs, then labels the ones with a known meaning.
Args: days: How far back to scan. max_events: Maximum events per log. include_noise: Keep entries that are known to be harmless (DCOM 10016).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| max_events | No | ||
| include_noise | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |