user_profile_record
Record one durable end-user preference, such as timezone, language, or 'prefers tea', by user ID and attribute. A new value for the same attribute supersedes the old one while history is kept.
Instructions
Record one durable preference of a specific end user (timezone, language, 'prefers tea'). Same predicate again supersedes the old value, history kept. Notes not tied to a user: memory_store.
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": {
"user_id": "<user_id>",
"predicate": "<predicate>",
"value": "<value>"
},
"name": "user_profile_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The attribute value (e.g. 'tea', 'Asia/Taipei', 'zh-TW') | |
| user_id | Yes | Stable per-user id from the channel (e.g. the Telegram/LINE/Discord sender id) | |
| predicate | Yes | The attribute name (e.g. 'prefers', 'timezone', 'language', 'pronouns') | |
| origin_trust | No | Confidence 0 to 1 in this observation (default 1.0; stored at most 0.6, the AI-record ceiling) |