memoryguard_memory_write
Write a memory record and let it auto-organize by classifying, deduplicating, superseding, or quarantining conflicts. Returns memory ID and actions taken.
Instructions
Write a new memory record. Auto-organizes: classify, dedup, supersede, conflict, quarantine. Returns memory_id and auto_actions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | memory content | |
| kind | No | override kind (default: auto-classify). Valid: preference|fact|project|procedure|episode|correction | |
| audience | No | mandatory-rule assignments; omitted always defaults to the trusted current agent | |
| metadata | No | optional metadata from agent | |
| priority | No | stable ordering within the mandatory rule package | |
| write_policy | No | write policy: auto_accept (default) | auto_quarantine_on_risk | propose_only. propose_only creates a low_confidence candidate without modifying existing memories | |
| idempotency_key | No | optional retry key bound to content, metadata, kind and policy | |
| injection_policy | No | relevant participates in task recall; always is a mandatory rule | relevant |
| agent_instance_id | No | optional identity consistency check; trusted MCP environment is authoritative |