update_record
Modify fields in an evidence record, remove fields with null, propagate claim/importance changes across related ledgers, and preserve original provenance while blocking invalid or withdrawn edits.
Instructions
Change fields of one record and return it. changes is merged into the record; a null
value removes a field. id, withdrawn, quote_hash and provenance cannot be changed,
and a withdrawn record cannot be edited. A new quote gets a new quote_hash; a removed one
drops it. The record's provenance is not touched: it records the original assessment (who,
which model, which manuscript revision, when), not later edits. A change to claim or
importance is copied to every record with the same claim_id; a claim may span related
ledgers, so pass their paths as related (the same list every time) to update its records
there too. The same checks as add_record apply to every affected ledger, and nothing is
written when one fails.
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": {
"path": "<path>",
"id": "<id>",
"changes": "<changes>"
},
"name": "update_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| path | Yes | ||
| changes | Yes | ||
| related | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |