analyze_session
Analyze a coding-agent session transcript to surface tool failures, loops, test outcomes, permission issues, and costs, highlighting findings that need human review.
Instructions
Analyse one session transcript end to end.
Returns tool usage and failure rates, detected loops, test-run outcomes, permission posture, cost, and a short list of findings worth a human's attention. Prompt text and file contents are never included.
Args: path: Path to a .jsonl session transcript. loop_threshold: How many repeats of one action count as a loop.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "analyze_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| loop_threshold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||