replay_insights
Get per-session metrics to understand how a Claude Code session ended, its duration, tool-call count, error count/rate, files touched, and most-used tools. Use session_id to analyze a specific session or default to the most recent.
Instructions
Per-session insight metrics: how it ended, duration, tool-call count, error count/rate, files touched, and the most-used tools.
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": "replay_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session ID (default: most recent) |