claims_card_chain
Link a new AI Claims Decision Card to its predecessor by setting the chain index and previous card hash. Validate the predecessor's hash and index before signing.
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.
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. |