Latest value of a CBS index
get_latest_indexRetrieve a CBS price index's current published value, base, percent changes, publication date, and recent observations for analysis or index-linked calculations.
Instructions
Get the latest published value of a CBS price index with its base (e.g. 'Average 2024'), the monthly and 12-month percent change as published, the approximate publication date (CBS publishes month M on the 15th of M+1 at 18:30) and the most recent observations. change_over_window_pct is chain-linked, so it stays correct across base changes.
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_latest_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | CBS index code, e.g. 120010 for the headline CPI (find codes with search_indices) | |
| periods | No | How many recent observations to return (default 13) |