List Property Values
vault_list_property_valuesList distinct values for a specific property key with occurrence counts, so you can inspect options before searching by property.
Instructions
List distinct values for a specific property key with how often each occurs.
Example: vault_list_property_values({ key: "status" }) returns [{ value: "done", count: 211 }, { value: "active", count: 47 }, ...]
When to use: Enumerating possible values for a property key before calling vault_search_by_property. Call vault_list_property_keys first to discover valid key names.
Parameters:
key is case-sensitive and must match exactly as returned by vault_list_property_keys.
folder names a whole folder and includes its subfolders: "Projects" covers "Projects/Archive" but not "ProjectsOld/". Matching ignores ASCII letter case.
limit applies after sorting by count descending, so you always get the most-used values first. Nothing in the response signals truncation: exactly limit values may mean more exist, which is common for keys with many distinct values like "title" or "created"; raise limit to check.
Behavior:
Handles both scalar properties (status: "active") and array properties (tags: ["a", "b"]). Array elements are unpacked and counted individually, so the sum of counts may exceed the note count.
Values with the same displayed string share one row with combined occurrence counts: number 1 and text "1" count together, while text "1.0" stays separate. Grouping happens before limit.
Checkbox values are stored as 1 and 0, so true and false come back as "1" and "0", counted with the numbers 1 and 0.
vault_search_by_property matches stored numbers numerically and text exactly; value "1" matches the number 1, the text "1", and a checked checkbox.
null values are skipped.
Errors:
An unknown key or empty folder returns an empty array, not an error.
Returns: JSON array of { value, count } sorted by count descending, then by value in binary text order ("10" before "2").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Property key name — use vault_list_property_keys to discover valid keys (e.g. "status", "type", "tags"). | |
| limit | No | Max values to return (default 50). | |
| folder | No | Restrict to a folder (e.g. "Projects") |