get_session_stats
Retrieve current session statistics: credits consumed, thinking time, wall clock time, and interaction count.
Instructions
Get current metrics for a chat session.
Returns:
session_credits: Credits consumed during this session (delta from start)
total_thinking_time: Cumulative agent processing time
wall_clock_time: Total time since session started
interaction_count: Number of agent turns logged
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": "get_session_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Which session to query. Uses active session if not provided. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||