findProperties
Discover available field names, types, and IDs for a record label before querying, so you can build filters or sorts without guessing fields.
Instructions
Discover the field names, types, and IDs available on a record label. Always call this before using field names in any query — never guess or invent field names. Filter by label using labels: ["LABEL_NAME"]. where is applied to Records, not property metadata. Each returned property object has: id (string), name (string), type (string | number | boolean | datetime), recordsCount (number of records that carry this property). Use the name field as the field name in where/orderBy/groupBy clauses. Use the id field as the propertyId argument to propertyValues. After calling this tool, decide the next step based on the field type: number or datetime → call propertyValues(propertyId) to get { min, max } for range questions, OR use findRecords with select: { min: ..., max: ... }; string or boolean → call propertyValues(propertyId) to get distinct values before filtering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Number of properties to skip | |
| limit | No | Maximum number of properties to return | |
| where | No | Record-scoped filter conditions applied before properties are returned. | |
| orderBy | No | Sorting configuration: key = field, value = asc|desc |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| properties | Yes |