get_data_limited
Retrieve a limited number of records from an ISTAT dataset using filters. If retrieval times out or data exceeds size, a downloadable file URL is returned instead.
Instructions
Get limited data from a dataset with filters. Returns only the first N records.
Attempt to retrieve data, if it times out or is too big, return the URL of the file to download.
Args:
dataflow_identifier: The identifier of the dataset.
filters: A dictionary of filters to apply to the dataset.
limit: The maximum number of records to return.
Example:
get_data_limited(dataflow_identifier="139_176", filters={"freq": "M", "tipo_dato": ["ISAV", "ESAV"], "paese_partner": "WORLD"}, limit=100)
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": {
"dataflow_identifier": "<dataflow_identifier>",
"filters": "<filters>",
"limit": "<limit>"
},
"name": "get_data_limited"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataflow_identifier | Yes | ||
| filters | Yes | ||
| limit | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |