mind_fact
Add, query, or invalidate subject-predicate-object facts in a local knowledge graph, including point-in-time and superseded history for contradiction-aware memory.
Instructions
Knowledge-graph facts (subject -> predicate -> object). Single tool with action: add (insert a new fact), query (list facts about a subject), invalidate (soft-delete a fact by id when a single-valued fact has been superseded). Replaces mind_fact_add / _query / _invalidate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Required for invalidate (from action=query) | |
| as_of | No | With action=query: POINT-IN-TIME: return the facts that were CURRENT at this instant (RFC3339 or YYYY-MM-DD), time-travelling the superseded chain. Answers 'what was X on date Y'. | |
| action | Yes | Operation | |
| object | No | Required for add | |
| history | No | With action=query: return the SUPERSEDED history (past TemporalSingle values, oldest first) instead of current facts | |
| subject | No | Required for add/query | |
| predicate | No | Required for add |