memoryguard_memory_write
Save durable facts, preferences, project decisions, or procedures on request. Writes locally, organizing duplicates and conflicts for reliable recall.
Instructions
Use when user explicitly asks to retain a durable fact, preference, project decision, or procedure. Do not use for raw transcripts or temporary task notes. Writes locally and may organize duplicates or conflicts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"body": "<body>"
},
"name": "memoryguard_memory_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | memory content | |
| kind | No | optional kind override; omit for native classification | |
| 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 | optional write policy; propose_only creates a low_confidence candidate, while omission uses automatic organization | |
| 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 |