get_constraints
Gets dimensions, valid code values, and Italian/English labels for an ISTAT dataset in one query, delivering the key filter before data extraction.
Instructions
Single-Call Metadata Tool: retrieves dimensions (with their position), valid constrained code values, and human-readable Italian/English labels for an ISTAT dataset in 1 query. Replaces the separate get_structure and get_codelist_description tools of earlier versions. Call this before get_data to build the key_filter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataflow_id | Yes | ID del dataflow ISTAT, come restituito da discover_dataflows. Esempio: '609_1_DF_DCCV_URBANENV_1'. (Nelle versioni precedenti del server questo parametro si chiamava 'id_dataflow'.) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||