get_balance
Retrieve GammaInfra balances for the authenticated customer: managed USD and currency. Optionally include BYOK balance by setting include_byok=true.
Instructions
Return the authenticated customer's GammaInfra balances: managed (USD) and currency. Pass include_byok=true to also fetch the BYOK (USD if enrolled) balance; when omitted, byok_balance_usd is null and no BYOK request is made. With include_byok=true, BYOK is reported inline as a byok_error string if the BYOK endpoint fails (e.g., customer has no BYOK enrollment).
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_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_byok | No | Also fetch the BYOK (bring-your-own-key) balance. Off by default to avoid an extra request — and a guaranteed 404 — for customers without BYOK enrollment. When false, byok_balance_usd is null with no byok_error. |