修正事实条目
update_factEdit an outdated fact in a persona profile, like a job change or relocation, using its factId from get_profile to replace it rather than add a conflicting fact.
Instructions
修改画像中某一条已有事实。信息过时时(换工作、搬城市)应改写原条目,而不是用 add_facts 追加一条互相矛盾的新事实。factId 来自 get_profile。
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": {
"profileId": "<profileId>",
"factId": "<factId>"
},
"name": "update_fact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| factId | Yes | ||
| source | No | ||
| content | No | ||
| category | No | ||
| profileId | Yes | ||
| confidence | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fact | Yes | ||
| profile | Yes |