llm_check_usage
Check real-time Claude subscription usage to track session limits, weekly limits, and extra spend. Use this data to route tasks: higher usage triggers cheaper model selection.
Instructions
Check real-time Claude subscription usage (session limits, weekly limits, extra spend).
Shows cached data if available. If no data cached, returns the JS snippet to run via Playwright's browser_evaluate (one call, no page navigation needed).
The budget pressure from this data feeds directly into model routing — higher usage = more aggressive downshifting to cheaper models.
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": "llm_check_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |