Set auto-reload
set_auto_reloadControl auto-reload: turn on/off automatic top-up when credits drop below a set threshold. If no card is saved, get instructions to add one.
Instructions
Turn automatic credit reloads on or off (admin only): when the balance drops below a threshold, the card on file is charged for a top-up pack — SERVER-SIDE, even with no app open. Requires a saved card, added once in the app at first checkout/top-up; if there's none the tool tells you exactly where to add it. After that one-time card setup, agents can manage auto-reload, top-ups and plan links fully. Members (read-only billing) get an 'ask an admin' message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | true to turn auto-reload on, false to turn it off | |
| reloadCredits | No | how many credits to add each reload — must match a credit pack size (see buy_credits) | |
| thresholdCredits | No | reload when the balance drops below this many credits |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capUsd | No | monthly auto-reload spend cap in USD, if set | |
| status | No | auto-reload status detail | |
| applied | No | whether the auto-reload config was applied | |
| enabled | No | the resulting auto-reload state | |
| guidance | No | instructions when the change must be made in the app | |
| needsCard | No | true when there is no saved card yet (add one in the app first) | |
| reloadPack | No | the pack charged on each reload | |
| reloadCredits | No | credits added per reload | |
| thresholdCredits | No | reload triggers below this balance |