get_options
Retrieve valid option codes and labels for a specific dimension of a dataset version, with pagination to handle large datasets.
Instructions
List valid option codes for one dimension of a dataset version.
Each option has an option code (what you pass to get_observations)
and a human label. Dimensions can be large (e.g. thousands of
geographies or hundreds of time periods), so page with offset/limit.
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_id": "<dataset_id>",
"edition": "<edition>",
"version": "<version>",
"dimension": "<dimension>"
},
"name": "get_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| edition | Yes | ||
| version | Yes | ||
| dimension | Yes | ||
| dataset_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||