agent_memory_set
Store key-value data in relay-side memory for AI agents, gated by owner opt-in and credential checks, with namespaces and optional TTL.
Instructions
Store a value in relay-side memory. Off by default: refused unless the human owner set VOIDLY_MCP_RELAY_ALLOW_MEMORY_WRITES=1; credential-shaped values are always refused. Values are encrypted by the relay with a key it derives from this identity's API key, so the relay can read them while it serves a request. They are not encrypted on this machine. Acts as the identity in the local credential store.
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": {
"namespace": "<namespace>",
"key": "<key>",
"value": "<value>"
},
"name": "agent_memory_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name (1-256 characters, same character set) | |
| ttl | No | Time to live in seconds (omit for no expiry) | |
| value | Yes | Value to store (string, number, boolean or JSON object) | |
| namespace | Yes | Namespace (1-64 characters of A-Z a-z 0-9 _ . : @ + = -) | |
| value_type | No | string, json, number or boolean |