search_metadata
Find metadata UIDs in DHIS2 by searching collections by name. Filter by object type and limit results for precise data lookup.
Instructions
Search any metadata collection by name and return matching UIDs.
Args: query: text to match on the object name (case-insensitive). object_type: one of dataElement, indicator, dataSet, program, organisationUnit, categoryOptionCombo, optionSet. limit: max rows to return.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| object_type | No | dataElement |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |