memory_update
Updates a stored long-term memory by changing its text content or replacing its tag list, enabling AI agents to revise memories in Amazon Bedrock AgentCore Memory.
Instructions
Change a memory. updates may hold content (new text) and tags (new tag list).
Tags may also be given as {"metadata": {"tags": [...]}}. Passing tags replaces the existing ones.
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": {
"content_hash": "<content_hash>",
"updates": "<updates>"
},
"name": "memory_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | ||
| content_hash | Yes | ||
| preserve_timestamps | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |