Convert using representative rates
convert_currencyConvert an amount between ILS and supported currencies, or between two foreign currencies via ILS, using Bank of Israel representative rates with optional date fallback to the previous business day.
Instructions
Convert an amount between ILS and any supported currency, or between two foreign currencies via ILS (cross rate), using Bank of Israel representative rates. Optional date uses the rate on that day or the previous business day. Returns the result (4 decimals), the cross rate and the rate date used for each leg.
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: ILS (or NIS/₪) or a supported code | |
| date | No | Optional date, YYYY-MM-DD. Defaults to the latest published rates | |
| from | Yes | Source currency: ILS (or NIS/₪) or a supported code | |
| amount | Yes | Amount to convert, e.g. 250 |