get_token_breakdown
Display per-turn input/output token and latency metrics for a session in chronological order, revealing how context usage grows turn by turn and identifying spikes.
Instructions
Per-turn input/output token and latency breakdown for one session, in turn order.
Use to see how token usage grew turn-by-turn within a session; use get_session_metrics for session totals.
session_id: id from get_recent_sessions / record_session.
Returns [] for an unknown or non-owned session.
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": {
"session_id": "<session_id>"
},
"name": "get_token_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |