get_auto_reload
The CodePanel MCP tool that reads credits auto-reload: its status, threshold, pack and monthly cap, and why it turned itself off.
On this page›
get_auto_reload reads your credits auto-reload: whether CodePanel will charge your saved card for a credit pack when the credit balance runs low, the settings, this month's reloads, and why it turned itself off if it did. Call it when a review is refused for credits, or before you change the setting. It only reads, and it needs the read scope.
When to call it
- After a
credits_requiredorcredits_exhaustedrefusal:statustells you whether a reload was turned off, andmessagesays what a person has to do. - Before
set_auto_reload:packOptionsUsdlists the pack sizes you may choose. - When credits stop topping up:
status: "capped"means this month's cap stopped a reload.
Inputs
| Input | Type | Required | Description |
|---|
It only reads: the server marks it readOnlyHint: true, so clients that ask before a write can run it without asking.
It takes no inputs. It reads the signed-in account's setting.
What it returns
enabledandstatus:off,on,pending(a charge is running),turned_off(a failure turned it off; seeoffReason) orcapped(this month's reloads reachedmonthlyCapUsd).thresholdUsd,packUsdandmonthlyCapUsd: the settings. Before any change they show the values it turns on with: $5, $25 and $100.chargeUsd: what one reload charges now, the pack plus the purchase fee on any part pastfeeFreeUsd, the fee-free credits your plan has left this month.monthandreloadedUsd: the UTC month the cap counts, and the credits its reloads bought, a running one included.offReasonandoffAt, after a failure:card_declined,authentication_required,no_payment_method,payment_failed,disputed,stalledorbilling_error. These do not retry; a person fixes the card, then turns it on again.disputeOpen: a payment to CodePanel is under dispute, so turning it on is refused until it closes.retryAfter: when a Stripe outage has delayed the next attempt, elsenull.pendingSince,lastReloadAtandcapReachedAt: timestamps in milliseconds, ornull.message: what to do next, forturned_off,cappedanddisputeOpen.
Examples
These responses come from a test account on a local backend. The plan, fee-free amount and settings are seed data.
{}
{
"capReachedAt": null,
"chargeUsd": 25,
"disputeOpen": false,
"enabled": false,
"feeFreeUsd": 250,
"lastReloadAt": null,
"message": null,
"month": "2026-11",
"monthlyCapUsd": 100,
"offAt": null,
"offReason": null,
"packOptionsUsd": [
25,
50,
100,
250
],
"packUsd": 25,
"pendingSince": null,
"reloadedUsd": 0,
"retryAfter": null,
"status": "off",
"thresholdUsd": 5
}
This account never turned auto-reload on, so the settings are the defaults and status is off. With chargeUsd equal to packUsd, no fee applies to this seed account's pack.
The same step without MCP
| Surface | Form |
|---|---|
| CLI | codepanel auto-reload (CLI) |
| HTTP API | GET /auto-reload |
What the server tells your agent
The description your agent reads when it lists the tools:
Credits auto-reload: whether CodePanel charges the saved card for a credit pack when the credit balance falls below a threshold. status is off|on|pending (a charge running)|turned_off (by a failure: offReason card_declined|authentication_required|no_payment_method|payment_failed|disputed|stalled)|capped (this month's reloads reached monthlyCapUsd). With thresholdUsd, packUsd, chargeUsd (pack plus the purchase fee), monthlyCapUsd, reloadedUsd this month (UTC), lastReloadAt, and message: what to do next.
Related
set_auto_reload: turn it on, off or change it.get_credits_first: which key a reviewer runs on.- Billing: auto-reload: failures, retries and disputes.
- MCP server: install, sign-in and every other tool.