Metis · Librarian — Search Pdf Knowledge
search_pdf_knowledgeSearch indexed PDF knowledge bases by meaning to retrieve relevant chunks for grounded, cited answers. Query one layer or combine several.
Instructions
Semantic search across one or more knowledge database layers.
Meaning-based (vector) search over your knowledge-base PDF chunks — the RAG
retrieval tool behind grounded, cited answers. For exact keyword matches use
search_fulltext; for reference metadata use search_library; for your own
notes/memory (not documents) use semantic_search.
Searches indexed PDF chunks using 768-dim nomic-embed vector similarity.
You can search a single layer or combine layers (e.g. PH background + Epi methods).
Args:
query: Natural language question or keyword phrase to embed and match.
databases: List of database slugs to search; pass None (the default) to
search all indexed databases. Examples: ['ph-background'],
['ph-background', 'epi-methods'].
top_k: Number of results to return (default 8).
Returns:
A single TextContent listing the top-ranked PDF chunks (title, similarity
score, layer, domain, page, source file, and an excerpt), or a message if
nothing is indexed yet or no chunks match the requested databases.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_pdf_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No | ||
| databases | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |