Convert an amount between currencies
cevir_dovizConverts miktar from kaynak to hedef currency (TRY included) and returns the result and the rate used. Cross rates go through TRY. Use doviz to list rates instead.
Endpoint: GET /v1/cevir/doviz. Available on all plans, including free. Costs 1 request unit per call. Read-only; JSON in Turkish with source and guncelleme (updated at) fields.
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": {
"miktar": "<miktar>",
"kaynak": "<kaynak>",
"hedef": "<hedef>"
},
"name": "cevir_doviz"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tur | No | 'anlik' = live Grand Bazaar rate (default); 'referans' = end-of-day reference rate. | anlik |
| hedef | Yes | Target currency, 3-letter code, e.g. 'TRY' or 'EUR'. | |
| kaynak | Yes | Source currency, 3-letter code, e.g. 'USD'. 'TRY' allowed. | |
| miktar | Yes | Amount to convert, e.g. 250. |