Metis · Librarian — Index Pdf Library
index_pdf_libraryExtract and index the first 4000 characters from each PDF in your Metis library, updating paper abstracts. Incrementally processes new files from literature and Zotero folders.
Instructions
Extract and index full text from all PDFs in the Metis library.
Reads PDFs from inputs/literature/ and Zotero storage.
Stores first 4000 characters per paper in library_fulltext table.
Also updates literature_metadata.abstract for any matched papers.
Incremental — only processes files not yet indexed.
Args:
scope: "literature" = inputs/literature/ only | "zotero" = Zotero storage only | "all" = both
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |