Metis · Librarian — Build Pdf Knowledge Db
build_pdf_knowledge_dbIndex PDFs into a named semantic knowledge database layer for semantic search using local embeddings with no API key; optionally force re-indexing existing files.
Instructions
Index a knowledge database layer from PDFs into the semantic knowledge base.
Uses local nomic-embed-text-v1.5-Q (fastembed, ONNX) — no API key required.
Each database is a named layer: 'ph-background', 'epi-methods',
or any custom database slug created via create_knowledge_database().
Args:
database: Slug of the knowledge database to build (default: 'ph-background').
force_rebuild: Re-index even files already indexed in this database.
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_pdf_knowledge_db"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | ph-background | |
| force_rebuild | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |