build_index
Build or update Zotero library indexes after adding new papers, enabling citation graph analytics and full-text search.
Instructions
Build or update indexes for your Zotero library. Use this after adding new papers to enable graph queries and full-text search. Types: 'graph' (citation network + analytics via OpenAlex — enables query_knowledge_graph, query_authors, export_knowledge_graph), 'fulltext' (PDF text extraction + FTS5 index — enables search_fulltext), 'both' (runs graph then fulltext). Auto-detects full build vs incremental sync. Set full_rebuild=true to force a complete rebuild.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "build_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | graph | |
| limit | No | ||
| full_rebuild | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |