convert
Convert an amount between two currencies using official ČNB rates. E.g., convert 100 EUR to CZK, or 50 USD to GBP (goes via CZK cross-rate). Optional date for historical conversion.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target currency ISO 4217 code. | |
| date | No | Optional ISO date for historical rates. Omit for latest. | |
| from | Yes | Source currency ISO 4217 code (e.g., "EUR", "USD", "CZK"). | |
| amount | Yes | Amount to convert. |