llm_check_usage
Check real-time Claude usage to dynamically adjust model routing for cost optimization as budget limits approach.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |