gemini_usage
Retrieve current Gemini API token usage statistics, including input/output token counts and rate limit status, to monitor consumption and avoid hitting API limits.
Instructions
Get current Gemini API usage statistics.
Returns token usage stats including input/output tokens and rate limit status.
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": "gemini_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |