get_macro_history
Get historical time series for a macro indicator. Codes: RBNZ_OCR, NZ_GDP_QOQ, NZ_CPI_YOY, NZ_UNEMPLOYMENT, NZ_HOUSE_PRICE_YOY, US_FED_FUNDS, UST_10Y, VIX, NZD_USD, NZD_AUD, NZD_TWI. Or filter by category: growth, inflation, employment, housing, global, fx, monetary_policy.
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_macro_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date (YYYY-MM-DD) | |
| code | No | Indicator code (e.g. "RBNZ_OCR", "NZ_GDP_QOQ") | |
| from | No | Start date (YYYY-MM-DD) | |
| category | No | Category filter: growth, inflation, employment, housing, global, fx, monetary_policy |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool payload. Null when the call did not produce one — read meta.availability_status to find out why, and do not treat null as zero, empty or "none found". | |
| meta | Yes | ||
| tool | Yes | Tool that produced this result. | |
| schema_version | Yes | Envelope contract version. Bumps only on a breaking shape change. |