| mode | No | Retrieval mode (default hybrid). Use 'keyword' for exact terms, identifiers, code, or error strings; 'vector' for purely conceptual/semantic queries; 'hybrid' (default) blends both. | hybrid |
| tags | No | Optional list of tags to filter by | |
| type | No | Optional frontmatter type to filter by (e.g. 'Playbook', 'Reference'); case-insensitive | |
| limit | No | Maximum number of results (1-20, default 5) | |
| query | No | Natural language search query. Omit, or leave empty, to list the most recently updated notes (filters then do not apply). | |
| folder | No | Optional folder path to scope the search to (exact match) | |
| vault_id | No | Optional: limit the search to a single vault, by name (e.g. "Engram") or UUID. Omit to search across ALL your vaults. Call list_vaults to see them. | |
| diversity | No | Result diversity (0 = most relevant, default tuned per plan; 1 = most varied). Uses Maximal Marginal Relevance to reduce redundancy among results. | |
| similar_to | No | Path of a note, e.g. "Projects/Alpha.md": return notes similar to it, using its stored embedding (no query needed). Do not combine with query. The note itself is excluded; filters still apply. | |
| created_after | No | Only notes created at/after this ISO 8601 datetime (frontmatter created/date) | |
| updated_after | No | Only notes updated at/after this ISO 8601 datetime (frontmatter timestamp/modified) | |
| created_before | No | Only notes created at/before this ISO 8601 datetime | |
| updated_before | No | Only notes updated at/before this ISO 8601 datetime | |