Retract a fact
retractRemove a wrong fact from workspace search and brief results while preserving its history; use update_fact instead when the fact only needs correcting.
Instructions
Retract a fact in this workspace that is wrong, so search and the brief stop returning it. Prefer update_fact when the fact only needs correcting. The fact and its history are kept and the owner can restore it. Needs the token's delete scope. Returns ok, or error: not found, 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": "retract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fact_id | Yes | The fact's id, as search returns it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||