Metis · Librarian — Sync Zotero Local
sync_zotero_localImport a local Zotero library by reading zotero.sqlite directly, so Metis can access literature metadata offline without an API key or network connection.
Instructions
Import a local Zotero library by reading zotero.sqlite directly (no API key).
The offline alternative to sync_zotero_library: reads your local Zotero
database file, so it works with no ZOTERO_API_KEY and no network. Items are
imported into literature_metadata (library_source='zotero-local'), the same
table the Librarian and search_library use.
Args:
db_path: Path to zotero.sqlite. If empty, Metis searches common locations
(~/Zotero/zotero.sqlite, and /mnt/c/Users/*/Zotero on WSL).
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": "sync_zotero_local"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |