ons_data_get_observation
Retrieve a single UK ONS data observation by specifying geography, measure, and time from the live API. Get precise statistical values for research.
Instructions
Fetch a single observation by geography, measure, time from the live ONS 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>",
"geography": "<geography>",
"measure": "<measure>",
"time": "<time>"
},
"name": "ons_data_get_observation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | ||
| tool | No | ||
| dataset | Yes | ||
| edition | Yes | ||
| measure | Yes | ||
| version | Yes | ||
| geography | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | Yes | ||
| observation | Yes |