learn_fact
Store a fact with its source for exact recall across sessions. Use when a user states a fact, preference, or rule the agent must remember precisely.
Instructions
Store a fact (subject, relation, object) the agent must recall EXACTLY later, with its source. Call whenever the user states a fact, preference, decision, name, number, or rule worth remembering — it persists across sessions and is never silently distorted. Optional valid_from for valid-time.
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>",
"relation": "<relation>",
"object": "<object>"
},
"name": "learn_fact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object | Yes | ||
| source | No | ||
| subject | Yes | ||
| relation | Yes | ||
| valid_from | No |