check_balance tool returns the agent’s wallet address and network, and the Nebula Hub automatically enriches that response with the live XLM (Lumen) balance and — if a USDC trustline is open — the current USDC balance. Call this tool any time the agent needs to decide whether it has enough funds to proceed, report its financial state, or confirm that a transfer or funding action landed correctly.
Parameters
check_balance takes no parameters. Pass an empty object {} as the tool input.
Response
"ok" on success.The agent’s Stellar public key (
G…), confirming which wallet was queried.The Stellar network this wallet is on. Either
"testnet" or "mainnet".A human-readable summary of the wallet’s current balances, ready to surface directly in an agent response. Provided by the Hub after fetching live Stellar data.
Example
Call:Balance figures in
message are fetched live from the Stellar network by the Nebula Hub at the time of the call. The data object always contains address and network; the Hub appends balance detail to message. USDC only appears when the wallet has an active USDC trustline. To open a trustline, visit the Connect page in your Nebula dashboard.