Store fact
store_factStore a semantic fact: a (subject, predicate, value) statement about an
entity that holds independently of when it was observed. For events use
store_episode.
Fact confidence decays over time unless the fact is reaffirmed, except
for facts classified as 'evento'. The response includes
`contradicciones`: existing facts with the same subject and predicate but
a different value. Nothing is deleted or superseded automatically; mark
the incorrect one with `supersede_memory`.
Args:
entity_id: UUID of the entity the fact is about.
predicate: Free-form predicate, e.g. 'is_a', 'has_role',
'located_in', 'depends_on'. Reuse predicates across calls.
value: The fact value, as a string.
confidence: Confidence in [0.0, 1.0]. When omitted, it is set to the
ceiling for `epistemico`: 1.0 'medido', 0.8 'reportado',
0.7 'inferido'. An explicit value is always kept.
source: Optional identifier of where the fact came from.
epistemico: How it is known: 'medido' (returned by a system: an HTTP
response, a query, command output), 'inferido' (concluded by
reasoning), 'reportado' (stated by someone else). Omitted or
unrecognized values are classified automatically, falling back to
'inferido'.
volatilidad: Whether it can stop being true: 'evento' (something that
happened; does not decay), 'estado' (how something is; expires if
it changes), 'pendiente' (still to do; expires within days).
Omitted or unrecognized values are classified automatically.
fuente: Optional. How you came to know this, so it can be recalled
with its source the way a person remembers who told them what.
Who you were with and through which agent are NOT declared here:
the server stamps them from your credential. Keys, all optional
and free text except `modo`:
modo: 'vivido' (I did or said it), 'conversado' (someone told
me directly), 'leido' (a document, web page, another agent's
message, a tool's output), 'pensado' (I inferred or
concluded it).
de: who said or originated it, e.g. "Cris" or
{"nombre": "Cris", "tipo": "persona"}.
con: who you were with, only if not your owner.
para: who you did it for.
canal: channel inside the agent, e.g. "whatsapp", "terminal".
donde: scope or place: repo, project, file, URL.
fecha: Optional. The date OF THE FACT, not of storing it: when it
happened (evento) or since when it is true (estado). Accepts
'2026' (year), '2026-03' (month), '2026-03-14' (day) or an
ISO-8601 datetime; the precision is taken from the format. A
datetime without offset is read in the user's time zone. Omitted:
the time of storing it. Invalid returns 422.
valid_until: Optional. Until when it is (or was) true, same formats;
a month or year means its last day. Omit if unknown or still true.
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": {
"entity_id": "<entity_id>",
"predicate": "<predicate>",
"value": "<value>"
},
"name": "store_fact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fecha | No | ||
| value | Yes | ||
| fuente | No | ||
| source | No | ||
| entity_id | Yes | ||
| predicate | Yes | ||
| confidence | No | ||
| epistemico | No | ||
| valid_until | No | ||
| volatilidad | No |