Update Account Balance
update_account_balanceSet an account's balance to a new value. Persists the balance and creates a single signed ADJUSTMENT transaction for the difference (no-op when the value is unchanged). Rejects exchange-managed accounts. Requires confirmation: true to execute.
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": {
"accountId": "<accountId>",
"balance": "<balance>",
"confirmation": "<confirmation>"
},
"name": "update_account_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balance | Yes | The new balance the account should reflect | |
| accountId | Yes | Account ID to update | |
| confirmation | Yes | Must be true to execute the mutation | |
| idempotencyKey | No | Optional idempotency key — calls with the same key (per-user, within 24h) return the cached response without re-executing. |