Treasury Exchange Rates
treasury_exchange_ratesGet official US Treasury exchange rates used for government currency conversions. Pass a country name for one country's rate; omit it for the most recent rates across all countries.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 12,
"country": "China"
},
"name": "treasury_exchange_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of records to return (default 12) | |
| country | No | Country name (e.g., "China", "Mexico", "Japan", "Canada"). Treasury indexes by country, not currency: the euro is "Euro Zone" (common aliases like "Eurozone"/"EUR" are accepted), and there is no United States row because these are rates from the dollar. Omit for the latest rates across all countries. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Present when the live API was unreachable and the mirror answered | |
| count | Yes | ||
| source | No | live or mirror | |
| country | No | Echo of the country filter; ABSENT when the caller omitted it and got rates across all countries | |
| records | Yes | ||
| description | Yes | ||
| mirror_fetched_at | No | Timestamp of the underlying rate data |