List Property Values
vault_list_property_valuesDiscover all distinct values for a property key with note counts, enabling you to explore value ranges before performing a property-based search.
Instructions
List distinct values for a specific property key with note counts. Useful for discovering the range of values a property takes before searching.
Example: vault_list_property_values({ key: "status" }) returns [{ value: "active", count: 47 }, { value: "done", count: 211 }, ...]
When to use: Enumerating possible values for a property key before calling vault_search_by_property. Handles both scalar properties (status: "active") and array properties (tags: ["a", "b"]) — array elements are enumerated individually. Call vault_list_property_keys first to discover valid key names.
Returns: JSON array of { value, count } sorted by count descending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Property key name (e.g. "status", "type", "tags") | |
| folder | No | Restrict to a folder | |
| limit | No | Max values to return (default 50) |