Grok weekly usage budget
get_budgetReturn current weekly SuperGrok/Grok Build pool usage and reset time so agents can check remaining quota before starting expensive work.
Instructions
Return current Grok Build / SuperGrok weekly pool usage and reset time (same figure as the TUI /usage). Top-level used_percent/remaining_percent are the overall pool (config.creditUsagePercent); products lists every per-product row (e.g. GrokBuild) so you can pick the relevant one. period_end is the reset time. Data comes from an UNOFFICIAL, undocumented endpoint; null fields plus warning mean partial data. Call it once before expensive work; do not poll in a loop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||