ons_data_dimensions
Retrieve available dimensions (e.g., geography, age) for a specific ONS dataset, edition, and version to understand data structure and filter options. Query by dataset, edition, and version.
Instructions
List available ONS observation dimensions from the live API.
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>",
"edition": "<edition>",
"version": "<version>"
},
"name": "ons_data_dimensions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | ||
| dataset | Yes | ||
| edition | Yes | ||
| version | Yes | ||
| dimension | No | Return only this dimension's codes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | Yes | ||
| dimensions | Yes |