Convert currency at TCMB rates
convert_currencyConvert amounts between TRY and TCMB-listed currencies, or two foreign currencies via TRY, using official central-bank rates for a chosen date and rate type.
Instructions
Convert an amount between TRY and any currency in the TCMB bulletin (or between two foreign currencies via TRY) using official TCMB rates for a date.
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>",
"from": "<from>",
"to": "<to>"
},
"name": "convert_currency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target currency, e.g. TRY or EUR | |
| date | No | YYYY-MM-DD; omit for latest | |
| from | Yes | Source currency, e.g. USD or TRY | |
| amount | Yes | Amount to convert | |
| rate_type | No | Default forex_selling (the rate commonly used for invoices) |