OECD Dataflow Structure
oecd-data.reference.structureRetrieve an OECD dataflow’s dimensions and valid codes to interpret returned data labels or build narrower key filters for queries.
Instructions
Get the dimensions and valid codes for an OECD dataflow (agency_id + dataflow_id from oecd-data.dataflows, e.g. "OECD.SDD.STES" + "DSD_STES@DF_CLI" for composite leading indicators) — reference area, frequency, measure, and breakdown dimensions each with their code list. Use this to interpret the dimension labels returned by oecd-data.data, or to build a narrower key filter. Data: sdmx.oecd.org (OECD SDMX public REST API), no auth required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Dataflow version, from oecd-data.dataflows (e.g. "4.1"). Omit to use the latest version. | |
| agency_id | Yes | OECD directorate agency id, from oecd-data.dataflows (e.g. "OECD.SDD.STES"). | |
| dataflow_id | Yes | OECD dataflow id, from oecd-data.dataflows (e.g. "DSD_STES@DF_CLI" for composite leading indicators). Returns the dimension list (e.g. REF_AREA, FREQ, MEASURE) with each dimension's valid codes — needed to interpret oecd-data.data results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |