Convert Amount
convert_amountConvert an amount between CZK and a foreign currency, or between two foreign currencies via CZK, using Czech National Bank exchange rates for a chosen day or today.
Instructions
Convert an amount between CZK and a foreign currency (or two foreign currencies via CZK) using CNB rates of a given day.
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_currency": "<from_currency>",
"to_currency": "<to_currency>"
},
"name": "convert_amount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Day as YYYY-MM-DD (default: today) | |
| amount | Yes | Amount in the source currency | |
| to_currency | Yes | Target code, e.g. CZK, EUR | |
| from_currency | Yes | Source code, e.g. CZK, EUR |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||