Metis · Librarian — Get Pdf Index Stats
get_pdf_index_statsCheck PDF knowledge base indexing status and coverage before relying on retrieval answers. Reports document and chunk counts, last build time, domain breakdown, and un-indexed PDFs.
Instructions
Report indexing status and coverage for your PDF knowledge bases.
Use this to check how complete your RAG (retrieval) corpus is before
relying on grounded answers: it shows, per knowledge database, the document
and chunk counts, when it was last built, a domain breakdown, and which PDFs
are still un-indexed. A quick "is my library ready to answer questions?"
health check. Pairs with index_pdf_library (to index) and
search_pdf_knowledge (to query).
Args:
database: Slug of a single knowledge database to report on (e.g.
"ph-background"). Empty string (the default) reports on every
database.
Returns:
A formatted status report covering each database's counts, last-built
time, domain breakdown, and any un-indexed PDFs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |