diagnose
Collects alert details, device context, correlated alerts, recent changes, blast radius, and diagnostic source results for an alert or device's latest critical alert; does not run diagnostics.
Instructions
Composite diagnosis: given an alert, or a device's latest open critical alert, gathers the alert details, device context, alerts clustered and audit changes in the last four hours, blast radius, and the device's assigned DiagnosticSources with the latest results of the alert's diagnostic runs. correlated_alerts lists the five largest clusters of each type with ten alert ids each, and changes the ten change and spike pairs of highest confidence; cluster_count, by_type and total_correlated count them all. It reads those results and never runs a DiagnosticSource. It computes no health score or root cause; health_check reports each metric's z-score.
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": "diagnose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alert_id | No | Alert ID to diagnose | |
| device_name | No | Device name to diagnose (finds most recent critical alert) | |
| detail_level | No | Output detail level (default: summary) | summary |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alert | No | get_alert_details; null when the device has no open critical alert. | |
| device | No | get_device for the alert's device. | |
| portal | No | The portal the call ran against, in multi-portal mode. | |
| changes | No | analyze_alerts 'changes' over the last four hours. | |
| warnings | No | ||
| diagnostics | No | Read only: diagnose never runs a DiagnosticSource. | |
| blast_radius | No | Full: analyze_blast_radius. | |
| detail_level | Yes | ||
| correlated_alerts | No | analyze_alerts 'clusters' over the last four hours. | |
| device_properties | No | Full: get_device_properties. |