// context detail-viewer

—investigate

Runs an AI analysis on the current log entry to identify the likely root cause and suggest a fix. The result includes a structured breakdown of what went wrong and actionable next steps.

Syntax

--investigate

Usage

Open a log in the detail viewer, then run:

--investigate

The AI analyzes the full log — message, level, context fields, and trace — and returns a root cause explanation with a suggested fix.

Requirements

  • Must be used from the detail viewer (open a log first)
  • Requires a plan with AI features enabled

Notes

  • Scoped to detail-viewer — not available in the main filter bar
  • The AI receives the full log including all context fields and trace ID
  • Executes on submit
// related

See also