Update bank account currency
update_bank_account_currencyChange the currency of an existing bank account by id. The ledger account moves with it, and a stored opening balance is repriced in the new currency. An account that already has transactions is refused, unwritten, with code confirm-required until the same call is repeated with confirm true.
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": {
"id": "<id>",
"currency": "<currency>"
},
"name": "update_bank_account_currency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the bank account | |
| confirm | No | true to change it although the account already has transactions | |
| currency | Yes | The new three-letter ISO currency code, e.g. USD | |
| openingrate | No | Rate for the opening balance, in account units per one base unit; the feed's rate otherwise |