record_ai_decision
record_ai_decisionAppend a decision (or an incident) to an AI system's signed, append-only record, by the rules of POST /v1/ai/systems/{id}/records. Send the input and output text or their SHA-256: only the hash is kept, never the text. Nothing recorded can be edited or removed, so record what actually happened, not a guess.
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": {
"system_id": "<system_id>"
},
"name": "record_ai_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| note | No | Required for an incident. | |
| input | No | The input, as text or JSON. Hashed, then dropped. | |
| output | No | The output, as text or JSON. Hashed, then dropped. | |
| ref_id | No | For an incident: the decision (air_…) it is about. | |
| subject | No | What it was about: a unit, GTIN + serial, case id. | |
| system_id | Yes | aisys_…, from list_ai_systems. | |
| confidence | No | 0 to 1. | |
| input_sha256 | No | ||
| output_label | No | A short readable label, e.g. suspect, clear. | |
| model_version | No | ||
| output_sha256 | No |