add_local_docs
Index local HTML, Markdown, PDF, and TXT files from a folder for semantic search. Extracts, chunks, and embeds text so AI agents can retrieve relevant documentation.
Instructions
Index local documentation files from a folder on disk.
Walks the folder, finds supported files (HTML, Markdown, PDF, TXT), extracts text, chunks, embeds, and stores them for semantic search.
Args: name: Short identifier for this collection, e.g. "internal-api". path: Absolute or relative path to the folder on the server. recursive: If true, descend into subdirectories (default true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| recursive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |