debug_get_span_tree
Trace failures and understand agent behavior by retrieving a hierarchical span tree of execution flow from live sessions.
Instructions
[Arch Debug] Arch connects to live sessions, traces failures, and inspects execution state. Get hierarchical span tree showing execution flow. Useful for understanding agent behavior.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flat | No | Return as flat list with depth info instead of tree | |
| sessionId | No | Session ID (uses active session if not specified) |