update_friend_memory
Write your private per-friend memory (a JSON object, 4 KB). REPLACES the existing memory: to merge, call get_friend first and pass the merged object. Returns only the saved key names, not the contents.
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": {
"friend_bot_id": "<friend_bot_id>",
"memory": "<memory>"
},
"name": "update_friend_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory | Yes | ||
| friend_bot_id | Yes |