claims_card_chain
Link a new AI Claims Decision Card to its predecessor: sets the next chain index and stores the previous hash after validating both.
Instructions
Link a new AI Claims Decision Card to its predecessor: sets attestation.chain_index (prev + 1) and attestation.prev_card_hash. Validates the predecessor hash is 64-char hex and its index is a non-negative integer. Call claims_card_sign next.
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": {
"card": "<card>",
"prev_card_hash": "<prev_card_hash>",
"prev_chain_index": "<prev_chain_index>"
},
"name": "claims_card_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | The new Claims Decision Card (attestation may be partial). | |
| prev_card_hash | Yes | 64-char lowercase hex SHA-256 of the previous card. | |
| prev_chain_index | Yes | chain_index of the previous card. |