analyze_log
Run a deterministic diagnostic suite on ArduPilot .bin or .tlog flight logs to return severity-ranked findings, evidence, per-check results, and guidance.
Instructions
Run the full deterministic diagnostic suite over an ArduPilot .bin log (or a ground station's .tlog).
A .tlog is the telemetry the ground station received: a few Hz, the primary sensor and EKF core only, and gaps where the radio link dropped. Checks that would read a link dropout as a vehicle fault (log integrity, timing) are skipped on it; prefer the onboard .bin when the user has it.
Returns severity-ranked findings (each with concrete evidence AND official
ArduPilot doc links), per-check results, a plain-language summary, and
guidance. Read the cited references for the log's firmware version, call
vehicle_profile for the airframe's physical configuration, and fold in any
real-world details the user gives — then explain and cite sources. Every
finding is grounded in the log; do not invent causes beyond them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | No | Per-check outcomes, including skipped/errored checks. | |
| findings | No | All findings, sorted by severity (most severe first). | |
| guidance | No | How the LLM should use this report: read the cited docs for the log's firmware version, factor in the vehicle_profile (frame, motors, battery, power margin) and any physical details (weight, prop size) the user provides, then explain and cite sources. | |
| incident | No | Onset/impact summary when the log shows an anomaly while armed; the full event list is available from the incident_timeline tool. | |
| info_count | No | ||
| references | No | De-duplicated documentation links across all findings. | |
| warn_count | No | ||
| log_summary | Yes | ||
| summary_text | No | Deterministic summary skeleton. The LLM enriches this; it never invents findings. | |
| checks_skipped | No | ||
| critical_count | No | ||
| logging_advice | No | Copter/Heli: LOG_BITMASK bits that are off and whose data a check needed. |