search_by_dataview_field_tool
Search all markdown notes for a Dataview field by key, with optional value and type filters. Returns matching fields grouped by file.
Instructions
Find all notes containing a specific Dataview field (filesystem-native, offline).
Searches across all markdown files in the vault for a field by key (and optionally value/type). Field keys are canonicalized for consistent matching:
"Project Status" → "project-status"
"Due Date" → "due-date"
When to use:
Finding notes with specific metadata
Discovering field usage patterns
Locating notes by custom properties
Building dynamic collections
Performance:
1,000 notes: < 5 seconds
10,000 notes: < 50 seconds
Returns: Matching fields grouped by file, with total counts and file list
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"key": "<key>"
},
"name": "search_by_dataview_field_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Field key to search for (will be canonicalized: lowercase, spaces→hyphens) | |
| value | No | Optional value to match (exact match) | |
| value_type | No | Optional value type filter | |
| vault_path | No | Path to vault (optional, uses OBSIDIAN_VAULT_PATH env if not provided) | |
| ctx | No |