ingest
Bulk-load memories from a file or directory.
Instructions
Bulk-load memories from a file or directory.
Supported formats:
.txt/.md: file body stored as one memory. Optional YAML frontmatter (between---delimiters) sets project, scope, language, memory_type, tags, and source for that file..json: array of objects with a"content"key (same shape asmyelin exportoutput).directory: recurse and ingest every supported file found.
Args: path: Absolute or relative path to a file or directory. project: Default project tag (overridden by per-file frontmatter). scope: Default scope tag (overridden by per-file frontmatter). source: Source label for all ingested memories. recursive: Descend into subdirectories (default: true).
Returns: JSON summary with stored, skipped, and errors counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| scope | No | ||
| source | No | ingest | |
| project | No | ||
| recursive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |