Query the data cube
query_dataRuns a structured query against the DatosIA cube: indicators × places × years, with regional rollups (CA7, SICA8, NTCA) and matrix output. Query format: https://datosia.net/docs/query (JSON Schema: https://datosia.net/schema/query.json).
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": {
"indicators": "<indicators>",
"geo": "<geo>"
},
"name": "query_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Matrix axes, outermost first. | |
| geo | Yes | ||
| time | No | Omit for the latest year with data. | |
| format | No | Default ['rows','matrix']; add 'geojson' for boundaries with values, for maps. | |
| indicators | Yes | Indicator ids from find_indicators. |