Check credit balance
voixcall_get_balanceUse this when the user asks how much VoixCall credit they have or whether their balance is low. Do not use for call rates or call history, and do not use it to buy credits: there is no purchase tool. billing_url is where the user adds credits themselves, inside VoixCall.
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": "voixcall_get_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Available credit, decimal string with two decimals. | |
| object | Yes | Always "balance". | |
| spoken | Yes | One sentence to say to the user. | |
| currency | Yes | ||
| livemode | Yes | ||
| billing_url | Yes | Where to add credits; opens the app or the web dashboard after login. | |
| low_balance | Yes | true when the balance is below the account's low-balance threshold. |