initiate_currency_exchange
Convert money between two of the user's own currency accounts (e.g. USD to EUR). Nothing leaves the user; to pay or send to anyone, use initiate_payment instead. Creates a request the user approves in the Moneda mobile app; the destination is the user's own account in toCurrency. Check balance with get_balance first. After calling, poll get_payment_status.
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": {
"amount": "<amount>",
"fromCurrency": "<fromCurrency>",
"toCurrency": "<toCurrency>"
},
"name": "initiate_currency_exchange"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of fromCurrency to exchange, in user-facing units (e.g. '50.00') | |
| toCurrency | Yes | Currency that arrives in the user's account | |
| fromCurrency | Yes | Currency that leaves the user's account |