get_current_session
Retrieve current token usage statistics including remaining tokens, usage breakdown, and cost calculations for API session monitoring.
Instructions
Get current session usage with intuitive format (remaining, used, input/output tokens, cost)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
total_budget | No | Total token budget (optional) | |
user_id | No | User ID (defaults to current-session) | current-session |
Input Schema (JSON Schema)
{
"properties": {
"total_budget": {
"default": 190000,
"description": "Total token budget (optional)",
"type": "number"
},
"user_id": {
"default": "current-session",
"description": "User ID (defaults to current-session)",
"type": "string"
}
},
"type": "object"
}