agent_memory
Store and retrieve persistent data across agent sessions using Cloudflare KV. Read, write, or delete memory keys to maintain state between interactions.
Instructions
Read or write persistent agent memory across sessions.
Agents are stateless — use this to store and retrieve data between
sessions. Data is stored in Cloudflare KV and persists indefinitely.
Parameters:
key — Unique memory key to read or write (e.g. "user_preferences").
value — For action="set": JSON string of the value to store.
For action="get" or action="delete": ignored.
action — One of: "get" (read existing value), "set" (write value),
"delete" (remove the key). Default: "get".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| value | No | ||
| action | No | get |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |