mind_ingest
Write approved memory, facts, and procedures into a library with secret scrubbing and duplicate checks; omit candidates to extract from raw text.
Instructions
Auto-ingest memory. PRIMARY: pass a candidates array of already-extracted items you judged worth keeping. BACKSTOP: omit candidates and pass raw text for marker-based heuristic extraction. Each candidate is secret-scrubbed and near-dup-checked before writing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Raw text for heuristic extraction (used only when candidates is omitted) | |
| library | No | Target library for memory candidates. Pass the library of the PROJECT this content is about (e.g. its project name) — most mgi-mind instances split memory by project, and 'projects' is the catch-all for cross-project or unclassified notes, not a safe generic choice. The default exists so the call doesn't fail when omitted, not as a recommendation; look up the right library (mind_context or mind_search) before relying on it. | projects |
| candidates | No | Extracted items. Each is one of: {"type":"memory","content":"..."} | {"type":"fact","subject":"...","predicate":"...","object":"..."} | {"type":"procedure","trigger_error":"...","fix":"..."} |