Build the semantic search index
zotero_indexBuild, refresh, or check the status of a local hybrid-search index for Zotero library items, combining keyword and vector search. Run before semantic searches or after large library changes.
Instructions
Build, refresh, or report the status of the local hybrid-search index used by zotero_semantic_search. action: "build" (or "refresh") fetches the library's top-level items and indexes their text (title, abstract, creators, tags) for BM25 keyword search and — if an embedding provider is configured — vector search; the index is persisted under the Zoteus data dir. action: "status" reports the index size and which embedder is active (it falls back to keyword-only when no local model or embedding API is available). Run a build before semantic searching, and refresh after large library changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| library_id | No | ||
| library_type | No |