palace_kg_invalidate
Set an end date on a currently open knowledge-graph fact to mark it no longer true while preserving it as history.
Instructions
Mark a knowledge-graph fact as no longer true by setting its end date. The fact is kept as history (palace_kg_timeline and as_of queries still see it), not deleted. Only a currently open fact with exactly this subject, predicate and object is changed; if none matches, nothing changes. When a fact changes, call this on the old fact first and then palace_kg_add for the new one.
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>",
"predicate": "<predicate>",
"object": "<object>"
},
"name": "palace_kg_invalidate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ended | No | Date the fact stopped being true, YYYY-MM-DD (default: today) | |
| object | Yes | Object of the fact to end | |
| subject | Yes | Subject of the fact to end, as it was added | |
| predicate | Yes | Predicate of the fact to end, e.g. uses_database |