zotero_semantic_search
Find papers by semantic similarity to a topic query across your Zotero libraries using AI embeddings, without scanning abstracts.
Instructions
Prioritized topic-search tool. Find papers by semantic similarity to a query using AI embeddings — the BEST tool for finding papers on a topic (e.g. 'papers about mindfulness-based therapy'), far more efficient than scanning collection items or reading abstracts. Searches across every indexed library by default (your personal library plus any group libraries that have been synced); use library_id to scope to one. query: the topic or concept; natural-language phrases work well. limit: max results (default 10). filters: optional metadata filters as a dict (e.g. {'itemType': 'journalArticle', 'year': '2023'}); also accepts a JSON string. library_id: optional — restrict results to one library. 0 or 'user' for your personal library, or a group's numeric groupID (see zotero_list_libraries). Omit to search all indexed libraries. Requires the semantic search database to be POPULATED — run zotero_update_search_database first if you just installed the server or added new items; check readiness with zotero_get_search_database_status. Available only when the [semantic] optional dependency is installed. Example: zotero_semantic_search(query='mindfulness-based cognitive therapy for depression', limit=5).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (default: 10) | |
| query | Yes | Search query text - can be concepts, topics, or natural language descriptions | |
| filters | No | Optional metadata filters as dict or JSON string. Example: {"item_type": "note"} | |
| library_id | No | Optional library scope — 0/"user" for the personal library, a groupID for a group library, or None (default) to search every indexed library. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |