fact_set
Record timestamped subject-predicate-value facts and close prior values at the effective time, enabling as-of history queries without deleting past data.
Instructions
Assert subject.predicate = value from valid_from (default now). The previous value is closed at exactly that instant (valid_to), never deleted, so fact_get(as_of=...) answers 'what was true then'. Canon subjects (product:, work:, company, vendor:) share one timeline whatever the project and need evidence (commit, release, URL or item id); owner-only predicates are refused: record_decision(sets=...).
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>",
"predicate": "<predicate>",
"value": "<value>"
},
"name": "fact_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | ||
| value | Yes | ||
| api_key | No | ||
| project | No | ||
| subject | Yes | ||
| evidence | No | ||
| predicate | Yes | ||
| valid_from | No |