parse_trace
Parse pasted stack traces from Python, Node, Java, Go, Rust, and .NET to mark the root cause, classify application vs library frames, and flag truncated input as partial.
Instructions
Parse a pasted stack trace / crash output and explain it.
Auto-detects Python (chained exceptions, ExceptionGroup, SyntaxError), Node/V8 (cause, AggregateError, async frames), Java/Kotlin (Caused by, suppressed, "... N more"), Go (panic, fatal error, goroutine dumps, race reports), Rust (panic + RUST_BACKTRACE) and .NET (inner exceptions). Returns the exception chain with the ROOT CAUSE marked, every frame classified as application vs library/stdlib/framework/runtime, the innermost application frame, and a fingerprint. Truncated or garbled input is parsed as far as possible and flagged PARTIAL with a reason.
Args: text: The raw trace, optionally surrounded by other log lines (max 5,000,000 characters). index: If the text contains several traces, which one (0-based). The report says how many. format: "report" (compact text, default) or "json" (full structure). full: Show every frame instead of collapsing runs of library frames. max_frames: Maximum frames listed for the root cause (default 25). redact: Remove secrets, emails, IPs and home-directory names from the output (default true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | ||
| text | Yes | ||
| index | No | ||
| format | No | report | |
| redact | No | ||
| max_frames | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |