Get Exchange Rate
get_rateFetch the Czech National Bank exchange rate for a currency on a chosen date or recent day, returning how many CZK equal the requested amount.
Instructions
Get the CNB exchange rate (CZK per amount units) of one currency for 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": {
"currency": "<currency>"
},
"name": "get_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | No | Days back from today; ignored if date is given | |
| date | No | Day as YYYY-MM-DD (default: today) | |
| currency | Yes | ISO 4217 code, e.g. EUR, USD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||