Resolve And Query Data
resolve_and_query_dataValidate an SDMX query, apply one hierarchy-based aggregate fallback if needed, and return a compact shaped result.
Instructions
Validate a query, try one hierarchy-based aggregate fallback when needed, and then return a shaped result. This is intended for common user-facing questions that expect one compact answer rather than raw SDMX payloads.
Use this only after the subject/indicator dimension has already been resolved to a concrete code and a suitable flowRef has already been chosen. Do not use this as the first discovery step for topical questions such as stunting or wasting.
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": {
"flowRef": "<flowRef>",
"filters": "<filters>"
},
"name": "resolve_and_query_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | No | name | |
| filters | Yes | ||
| flowRef | Yes | ||
| endPeriod | No | ||
| resultShape | No | latest_single_value | |
| startPeriod | No | ||
| lastNObservations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||