Get data
get_dataFetch observations. select maps dimension ids to option codes or labels (several allowed); omitted dimensions match everything. The selection is verified live against ABS before fetching, so a call that succeeds always returns real data. Returns up to maxRows observations (default 500, most recent 12 periods per series unless a period range is given), a summary, and the URL for the complete pull. If an option or combination does not exist you are asked to choose from the valid ones.
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": {
"table": "<table>"
},
"name": "get_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lastN | No | Most recent N observations per series; default 12 when no period is given | |
| table | Yes | ||
| firstN | No | ||
| select | No | dimension id -> option code or label (or several). Omitted dimensions match everything. | |
| maxRows | No | Cap on returned observations | |
| endPeriod | No | ||
| startPeriod | No | e.g. 2020, 2020-Q1, 2020-03 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The resolved selection as an SDMX key | |
| rows | Yes | ||
| table | Yes | ||
| truncated | Yes | ||
| provenance | Yes | ||
| fullDataUrl | Yes | ||
| periodRange | Yes | ||
| rowsReturned | Yes | ||
| seriesMatched | Yes | ||
| availabilityUrl | Yes |