List WhisperGraph Labels
list_labelsCheck available node labels and their counts to rule out hallucinated labels and identify large vs small label groups before writing queries.
Instructions
List all node labels in WhisperGraph with their counts.
Use this BEFORE writing a query when you're not sure which label to anchor on. It rules out hallucinated labels (e.g. there is no DOMAIN or FQDN - only HOSTNAME) and tells you which labels are large (HOSTNAME, IPV4) vs small (RIR, COUNTRY).
Returns: an array of {label, count} rows. Cached server-side for 5 minutes.
Tip: pair with describe_label to verify which properties exist on a label before referencing them in WHERE clauses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | Yes |