xdr_get_suggestions
Look up actual values for a field, optionally filtered by prefix, to resolve empty query results caused by spelling differences. Use returned values in queries and narrow prefixes to see more.
Instructions
Look up real values of a field, optionally narrowed by a prefix. Use it when a query returns nothing and the value may simply be spelled differently — an unmatched value is answered with zero records rather than an error, so a guess is indistinguishable from a genuine absence. Each entry has a value to put in a query and a label for display; search on the value. Returns up to about ten entries, so narrow the prefix to see more. Field names come from xdr_get_mapping, where the ones worth asking about carry show_suggestions; an unknown field name comes back empty rather than as an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | Field to list values of, as named by xdr_get_mapping | |
| prefix | No | Return only values starting with this. Omit for the field's first values. | |
| section | Yes | Section name, one of: alerts, incidents, emails, files, events, connections, assets, modules, audit, applications, application_versions |