update_memory_block
Modify the content and metadata of a memory block in the Letta system by specifying its ID, enabling updates to stored information for agent operations.
Instructions
Update the contents and metadata of a memory block. Use list_memory_blocks to find block IDs, or read_memory_block to see current content before updating.
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": {
"block_id": "<block_id>"
},
"name": "update_memory_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block_id | Yes | ID of the memory block to update | |
| value | No | New value for the memory block (optional) | |
| metadata | No | New metadata for the memory block (optional) | |
| agent_id | No | Optional agent ID for authorization |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| block_id | Yes | ||
| updated_fields | No |