pageindex_local_index_document
Add and index a local PDF or Markdown file to a self-hosted RAG system, returning a document ID and tree path for AI querying.
Instructions
Add and index a local PDF or Markdown file using the local PageIndex installation. Returns document ID and tree path on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to .pdf, .md, or .markdown file | |
| model | No | ||
| addNodeId | No | ||
| documentId | No | Optional stable custom document ID | |
| ifThinning | No | ||
| addNodeText | No | ||
| forceReindex | No | ||
| tocCheckPages | No | ||
| addNodeSummary | No | ||
| copyToWorkspace | No | ||
| maxPagesPerNode | No | ||
| maxTokensPerNode | No | ||
| addDocDescription | No | ||
| thinningThreshold | No | ||
| summaryTokenThreshold | No |