banking_conversion_create
Create a currency conversion from an existing quote using its quote ID, buy and sell currencies, amount, and a valid settlement date accepted by the API.
Instructions
Create a currency conversion from an existing quote. Requires a quote_id from banking_conversion_create_quote. If you do not have a valid conversion_date, call banking_conversion_list_dates first — the API only accepts specific settlement dates and will reject arbitrary dates with "conversion date is invalid".
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": {
"quote_id": "<quote_id>",
"buy_currency": "<buy_currency>",
"sell_currency": "<sell_currency>",
"conversion_date": "<conversion_date>"
},
"name": "banking_conversion_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_id | Yes | Quote ID obtained from banking_conversion_create_quote | |
| buy_amount | No | Amount to buy. Provide exactly one of sell_amount or buy_amount. | |
| sell_amount | No | Amount to sell. Provide exactly one of sell_amount or buy_amount. | |
| buy_currency | Yes | Currency to buy (ISO 4217) | |
| on_behalf_of | No | Sub-account ID to act on behalf of. Pass the short account ID (e.g. "CB4488338944") to operate on a sub-account; omit to operate on the master account. | |
| sell_currency | Yes | Currency to sell (ISO 4217) | |
| conversion_date | Yes | Settlement date, e.g. "2024-01-15" |