Automatic credit top-up and assistant buying
credit_settingsRead or change how the account gets credits without being asked: automatic top-up (when the balance falls below threshold, buy recharge_credits, at most monthly_cap times a month; on by default, but it only ever charges a card saved by buying credits at checkout, never the card a subscription pays with, and the owner is emailed every time) and whether you, the assistant, may buy credits on the saved card. auto_top_up says whether a top-up would really happen now and on which card. Leave every field out to read them. Change them only when the owner asks; say what you changed.
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": "credit_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | No | Client website slug (or id). Leave out on your own account; required for platform-scoped keys. | |
| threshold | No | Top up when the balance falls below this many credits (0 to 100,000). | |
| monthly_cap | No | At most this many automatic top-ups a month (1 to 50). | |
| auto_recharge | No | Turn automatic top-up on or off; true also ends a pause. | |
| assistant_buying | No | Whether the AI assistant may buy credits on the saved card. | |
| recharge_credits | No | How many credits each top-up buys (500 to 100,000; 1 credit = 1 cent). |