get_claude_session_stats
Retrieve token usage, timing, and message counts for a Claude Code session to analyze performance and resource consumption.
Instructions
Get token usage, timing, and message counts for a Claude Code session.
Returns input/output token totals, cache read tokens, duration in minutes, models used, and the working directory the session was run from.
Args: session_id: The session UUID. project_slug: The project the session belongs to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| project_slug | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||