record_keyed_fact
Store or update a personal attribute for a subject, replacing the previous value under one canonical key to avoid duplicate facts.
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.
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 | |||