kb_ingest_dir
Batch ingest markdown files from a directory into the knowledge base, with control over file patterns, recursion, and chunking strategies.
Instructions
Batch ingest directory of markdown files
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir_path | Yes | Directory to scan | |
| pattern | No | File pattern (e.g., *.md) | *.md |
| strategy | No | chunked | |
| recursive | No | Scan subdirectories | |
| exclude_patterns | No | Patterns to exclude | |
| author | No | Who is ingesting (optional, defaults to None) | |
| source_type | No | Source type for attribution (defaults to 'system' since ingestion is automated) | system |
| confirm_production | No | Required (true) to ingest more than 100 files when LORE_ENV=production. Guards against accidental bulk writes; not required for smaller ingests or non-prod. |