debug_explain_decision
Trace agent decisions by explaining a specific event with contextual details. Filter by session, turn, or event ID to see the reasoning behind any choice.
Instructions
[Arch Debug] Arch connects to live sessions, traces failures, and inspects execution state. Get detailed explanation of a decision event with surrounding context. Helps understand why the agent made a choice.
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": "debug_explain_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| turn | No | Get all decisions for a specific conversation turn | |
| type | No | Filter by decision type (handoff, completion, gather_extraction, etc.) | |
| lastN | No | Number of recent decision entries to return | |
| eventId | No | Specific event ID to explain | |
| sessionId | No | Session ID (uses active session if not specified) |