ingest_document
Ingest documents into a local RAG knowledge base for semantic search and Q&A. Supports text, Markdown, JSON, HTML files or raw content, chunked and vectorized with configurable parameters.
Instructions
Ingest a PDF development experience document into the local RAG knowledge base. The server chunks, vectorizes, indexes, and persists the content locally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Optional tags for classifying or filtering knowledge, such as parsing, rendering, font, ocr, pdfa, signature. | |
| title | No | Human readable title. Defaults to the file name or source. | |
| source | No | Stable source identifier, such as a file path, URL, note id, or repository path. | |
| content | No | Raw text or Markdown content to ingest. Use this or filePath. | |
| filePath | No | Path to a UTF-8 text, Markdown, JSON, or HTML document. Relative paths are resolved from the MCP server process cwd. | |
| chunkSize | No | Approximate maximum characters per chunk. | |
| chunkOverlap | No | Approximate overlapping characters between adjacent chunks. | |
| replaceExisting | No | Replace existing documents with the same source before ingesting. |