Inflation, rates and yield history
get_macro_historyCPI, interest-rate and sovereign yield histories from seeded official-source reports. Select a dataset; country is required for world CPI or government yields. Default 30 newest observations per series, kept in chronological order; maximum 365. Set history=false for latest snapshots. Dates are Unix milliseconds, rates and yields are percentages. Missing readings or tenors are unknown, not zero. Series differ in source, frequency, index base and yield measure; a series records those that apply to its dataset. A truncated response is not full history; unavailable is not a zero reading.
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": {
"dataset": "<dataset>"
},
"name": "get_macro_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum newest observations per series, in chronological order. | |
| country | No | Required for world-cpi and government-yields. Omit for US-only datasets. Pass an ISO 3166-1 alpha-2 code (e.g. "IQ"), an alpha-3 code ("IRQ"), or a country name in any supported dashboard locale (e.g. English "Iraq", Arabic "العراق", German "Deutschland", Chinese "中国"). | |
| dataset | Yes | Choose US CPI, US interest rates, US Treasury par yields, country CPI, or sovereign yields. | |
| history | No | True returns bounded history; false requests the latest available snapshot. | |
| jmespath | No | Optional JMESPath projection applied to the response. See initialize.instructions for grammar and examples. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||