query_data
Retrieve statistical data from OECD datasets by specifying dataflow IDs and applying filters, time periods, or observation limits to manage result size.
Instructions
Query actual statistical data from an OECD dataset. ⚠️ IMPORTANT: Defaults to last 100 observations (max 1000) to protect context window. Use filters, time periods, or last_n_observations to control data size. Large datasets (e.g. SOCX_AGG) can have 70,000+ observations - always specify limits!
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataflow_id | Yes | ||
| filter | No | ||
| start_period | No | ||
| end_period | No | ||
| last_n_observations | No |