Metis · Librarian — Index Pdf Library
index_pdf_libraryExtracts and indexes full text from PDFs in literature and Zotero storage, processing only unindexed files so research content becomes searchable.
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
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": "index_pdf_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |