claims_card_sign
Computes the canonical SHA-256 hash of an AI Claims Decision Card for ed25519 signing. Sorts object keys and removes attestation fields to return a 64-character lowercase hex card_hash.
Instructions
Compute the canonical SHA-256 hash of an AI Claims Decision Card for ed25519 signing. Sorts object keys recursively and excludes attestation.card_hash + attestation.signature before hashing. Returns the 64-char lowercase hex card_hash; caller signs it offline.
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": {
"document": "<document>"
},
"name": "claims_card_sign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | Claims Decision Card. attestation.card_hash and attestation.signature are stripped before hashing. |