retrieve_memory
Fetch a memory using agent ID and key. Costs one credit; returns 404 if not found.
Instructions
Retrieve a stored memory by agent ID and key. Returns 404 (and refunds the credit) if the memory does not exist. Costs 1 credit.
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": {
"agent_id": "<agent_id>",
"key": "<key>"
},
"name": "retrieve_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The memory label to retrieve. | |
| agent_id | Yes | The agent identifier. |