index-documents
Index PDF documents from a directory into a named searchable collection to enable quick content lookup.
Instructions
Index all PDF documents in a directory for fast searching
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": {
"directory": "<directory>",
"indexName": "<indexName>"
},
"name": "index-documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | Path to directory containing PDF files | |
| indexName | Yes | Name for this document index |