Get Bank of Canada CAD FX rates
get_fx_rates_cadFetch daily average foreign exchange rates against the Canadian dollar (CAD) from Bank of Canada Valet for one or more ISO currency codes (e.g. "USD,EUR,GBP") or Valet FX series codes (e.g. "FXUSDCAD").
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_fx_rates_cad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recent | No | Number of recent business-day observations to return (1-365, default 5). | |
| end_date | No | Optional end date in YYYY-MM-DD format. | |
| currencies | No | Comma-separated 3-letter ISO currency codes (e.g. "USD,EUR") or Valet codes (e.g. "FXUSDCAD"). Defaults to "FXUSDCAD". | |
| start_date | No | Optional start date in YYYY-MM-DD format. |