Latest exchange rates
get_rateLatest exchange rates, either every pair for one country (country="ZW") or one pair across every source that publishes it (base="USD", quote="KES"). Each row carries a stale flag — when it is true the source has been failing and the value is the last one published, so say so when you quote it.
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_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base currency code, e.g. USD | |
| quote | No | Quote currency code, e.g. ZWG | |
| country | No | ISO 3166-1 alpha-2 country code, e.g. ZW |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| rates | Yes | ||
| country | Yes | ||
| last_updated | No |