Get billing account
get_billing_accountRead the selected team's usable credit balance and explicitly delegated billing access. Connecting an account alone grants no billing access. This read makes no payment or permission changes.
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": "get_billing_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teamId | Yes | Team whose credits and billing access apply. | |
| currency | No | Purchase currency (usd). | |
| teamName | No | Team display name. | |
| creditPack | No | Allowed credit quantities for a new order. | |
| canPurchase | Yes | Whether this credential may buy credits right now. | |
| accessExpiresAt | No | When delegated billing access expires, in Unix seconds. | |
| creditsRemaining | Yes | Usable credit balance. | |
| purchaseLimitMinor | No | Per-purchase limit in minor currency units (cents). | |
| purchaseRestriction | No | Why purchases are unavailable, when canPurchase is false. |