memory_write
Write a value to guarded memory after screening for security threats. Declare provenance to prevent self-poisoning and optionally classify the memory.
Instructions
Write a value to guarded mem9 memory.
The value is screened by agent-memory-guard before persisting; the result may be
allow / redact / quarantine / block. Declare provenance honestly via source_class
(user_input | external_tool | agent_authored | system) — it drives self-poisoning
detection. Optionally classify with memory_class (e.g. "ephemeral").
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": {
"key": "<key>",
"value": "<value>"
},
"name": "memory_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| value | Yes | ||
| source_class | No | agent_authored | |
| memory_class | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||