debug_analyze_session
Analyze a session to detect issues like loops, errors, and constraint violations. Get summary stats, current state, and actionable suggestions to resolve problems quickly.
Instructions
[Arch Analyze] Arch explains documentation, diagnostics, and system health signals. Get automated analysis and diagnostics for a session. Returns:
Summary statistics (event counts, duration, LLM calls)
Current state (step, collected fields, missing fields)
Detected issues (loops, errors, constraint violations, tool failures)
Suggestions for fixing problems
Use this as a starting point for debugging - it identifies common issues automatically.
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_analyze_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | No | Session ID to analyze (uses active session if not specified) |