Correct a fact
update_factCorrect an outdated or imprecise fact by replacing its text or changing an open thread's status between current and closed, while preserving the previous text in history.
Instructions
Correct a fact in this workspace: replace its text, or set an open thread's status to closed (done) or back to current. Use it when you learn a fact is outdated or imprecise; use retract when it is simply wrong. The previous text is kept in the fact's history and the owner can restore it. Needs the token's update scope. Returns the fact's new version, or error: not found, invalid input, forbidden.
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": {
"fact_id": "<fact_id>"
},
"name": "update_fact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The corrected text, at most 20000 characters. | |
| status | No | current or closed; closed applies to open threads only. | |
| fact_id | Yes | The fact's id, as search returns it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||