record_keyed_fact
Store or update a personal attribute under one canonical key, replacing any previous value instead of adding duplicates.
Instructions
Upsert a mutable personal attribute. record_keyed_fact(subject, attribute, value) - e.g. user/city/Tampa. A new value SUPERSEDES the old under one canonical key instead of piling up.
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": {
"subject": "<subject>",
"attribute": "<attribute>",
"value": "<value>"
},
"name": "record_keyed_fact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | the current value as a short string ('Warsaw'). | |
| subject | Yes | who/what the fact is about ('user', 'user_dog', 'company_xyz', etc.). Lowercased internally; spaces ok. | |
| attribute | Yes | the attribute name ('city', 'employer', 'phone', 'name'). Lowercased internally. | |
| importance | No | 0..1, default 0.85 (high because personal attrs are usually significant). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||