memory_get
Retrieve a stored memory entry for an agent by specifying the agent ID and memory key. Returns the stored string value, or empty if the key does not exist. Paid per request via Lightning.
Instructions
Retrieve a previously stored memory entry for an agent.
Returns the stored value as a string. If the value was stored as JSON,
parse it after retrieval. Returns an empty string if the key does not exist.
Cost: ~1 sat/KB (minimum 20 sats).
Returns: The stored value string, or empty string if not found.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent identifier used when the memory was stored. Must exactly match the agent_id used in memory_store. | |
| key | Yes | The memory key to retrieve. Must exactly match the key used in memory_store. Use memory_list to see all available keys for an agent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |