queryany
Optional search query string (supports boolean operators, phrases, patterns).
Omit or pass None for filter-only searches using metadata_filters, tags, or status.
projectany
Project name to search in. Optional - server will resolve using hierarchy.
If unknown, use list_memory_projects() to discover available projects.
project_idany
Project external_id (UUID). Prefer this over `project` when known —
it routes to the exact project regardless of name collisions across cloud
workspaces. Takes precedence over `project`. Get from list_memory_projects().
search_all_projectsboolean
Optional opt-in to search every accessible project. Ignored when
`project` or `project_id` is supplied.
pageinteger
The page number of results to return (default 1)
page_sizeinteger
The number of results to return per page (default 10)
search_typeany
Type of search to perform, one of:
"text", "title", "permalink", "vector", "semantic", "hybrid".
Default is dynamic: "hybrid" when semantic search is enabled, otherwise "text".
output_formatenum
"text" preserves existing structured search response behavior.
"json" returns a machine-readable dictionary payload.
note_typesany
Optional list of note types to search (e.g., ["note", "person"])
entity_typesany
Optional list of entity types to filter by (e.g., ["entity", "observation"])
categoriesany
Optional list of observation categories for exact matching (e.g.,
["requirement"]). Pair with entity_types=["observation"] to return only
observations whose category matches exactly.
after_dateany
Optional date filter for recent content (e.g., "1 week", "2d", "2024-01-01")
metadata_filtersany
Optional structured frontmatter filters (e.g., {"status": "in-progress"})
tagsany
Optional tag filter (frontmatter tags); shorthand for metadata_filters["tags"].
Accepts a list (["a", "b"]) or a comma-separated string ("a,b"), matching the
write_note tags convention and the tag: query shorthand.
statusany
Optional status filter (frontmatter status); shorthand for metadata_filters["status"]
min_similarityany
Optional float to override the global semantic_min_similarity threshold
for this query. E.g., 0.0 to see all vector results, or 0.8 for high precision.
Only applies to vector and hybrid search types.