Hands Facts
alterlab_factsEvidence-backed fact store for the signed-in user (and organisation). action=get returns the latest version of facts (pass subject and key for one, or subject/prefix to list); action=history returns every version of one subject+key; action=put records a user assertion, which is unconfirmed until the user confirms it; action=confirm adds the confirmed version after the user said it is right. Facts are insert-only: a put adds a new version. Only a connector or the platform's own tools produce verified facts; a put never does. Every fact lists its sources with step_id, job_id, url, fetched_at, tier and evidence.
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": "alterlab_facts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Namespaced key, e.g. user.address.home | |
| kind | No | Value type slug, e.g. address, money, text | |
| as_of | No | ||
| limit | No | ||
| ttl_s | No | Seconds the fact stays fresh | |
| value | No | The fact value (put) | |
| action | No | Default get | |
| prefix | No | List facts whose key starts with this (get) | |
| subject | No | Whose fact, e.g. user or org.acme | |
| version | No | A specific version (get) | |
| confidence | No | ||
| system_of_record | No | Where the fact lives |