import_memories
Import memories, episodes, and profiles from JSONL files while preventing duplicate entries. Includes dry-run mode and target-agent reassignment for controlled data migration.
Instructions
Import memories, episodes, and profiles from a JSONL file. Idempotent: memories deduplicate on msg_id (and on content within a project/channel), episodes on their summary within a project/channel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Count records without writing to DB (preview mode) | |
| input_path | Yes | Path to the JSONL file to import | |
| target_agent_id | No | Remap all records to this agent ID (empty to use original agent_id from file) |