getCreditsBalances
Get the credits balances of one customer by customerId. Each balance has an amount, an allocation, and an expirationDate when the credits expire. Get customerId from getCustomers. Never invent UUIDs; only use values from prior tool responses.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customerId": "<customerId>"
},
"name": "getCreditsBalances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes | The id of the customer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balances | Yes |