Query facts
lore_query_factsQuery a bitemporal fact store to retrieve currently valid facts or point-in-time truth, see what was known on a date, and trace supersession history.
Instructions
Query the bitemporal fact store. Default: currently-valid facts. asOf answers "what was true on DATE", asKnownAt answers "what did we know on DATE"; includeHistory shows the full supersession chain. Prefer this over lore_search for factual slots (status, location, role, preference). Returns { facts } and, when the result is a sample, a truncated field with { shown, of, rest } — narrow by subject or raise limit before concluding a fact does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | ISO date: what was TRUE on this date | |
| limit | No | max facts to return (default 200) | |
| subject | No | ||
| asKnownAt | No | ISO date: what was KNOWN on this date. Facts recorded later are excluded however far back their validity was backdated — use it to reconstruct what a past decision was based on. Combine with asOf for "what was true then, as far as we knew then". | |
| predicate | No | ||
| includeHistory | No |