korely_get_facts
Read typed (subject, predicate, object) facts: the bi-temporal core. agent_id narrows to one agent's namespace; entity matches subject OR object; predicate is the relation (works_at); predicate_family narrows to one family of relations (its description names them); as_of (ISO date) reconstructs what was true then; known_as_of (ISO date) what Korely knew then (a change told later is not in it); include_invalidated shows superseded facts; exclude_sessions leaves out the facts only work sessions state; reader (your agent's name) keeps which facts you were handed, and filters nothing; limit: 1 to 200. Each fact ends with its id, fct_, the one korely_correct_fact takes. Deterministic, no model.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "korely_get_facts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ||
| limit | No | ||
| entity | No | ||
| reader | No | Your agent's own name, by the rule of `agent_id`. With it, this read keeps the ids of the facts it hands over as true, with the time, for 90 days after the last read unless the install sets READ_MARKS_RETENTION_DAYS, and the context block of this reader opens with what changed since in the facts it was handed (agent notices), each change told at most once. It filters nothing, and a read of the past (`as_of`, `known_as_of`) or of the history (`include_invalidated`) keeps nothing and tells nothing. Not authenticated: whoever holds the key can give any name. | |
| subject | No | ||
| user_id | No | ||
| agent_id | No | ||
| predicate | No | ||
| known_as_of | No | ||
| exclude_sessions | No | ||
| predicate_family | No | Filter to one family: one of `preferences`, `people`, `places`, `work`, `ownership`, `health`, `financial`, `events`, `identity`, `other` (case and surrounding spaces ignored). A name that is not a family matches no fact: an empty result, not an error. An empty value is no filter; one made only of spaces is no family, and matches no fact. A name longer than 200 characters, or with a NUL byte, is refused as an invalid request (a 422 on REST), as every name a read of the facts narrows on. | |
| include_invalidated | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |