Hash an artifact (SHA-256)
ledgerproof_hash_artifactCompute SHA-256 hash of a payload locally to preserve privacy; pass the resulting hash to issue a receipt without exposing raw data.
Instructions
Compute the SHA-256 (hex) of a payload using the SDK's hashing. PRIVACY: use this to obtain a precomputed hash so raw payloads never leave the machine — then pass the hash to ledgerproof_issue_receipt as precomputed_sha256. Over Streamable HTTP, issue_receipt REQUIRES precomputed_sha256 and rejects raw payloads, so hash locally first.
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": {
"payload": "<payload>"
},
"name": "ledgerproof_hash_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | The content to hash (UTF-8 text). Returned only as a hash. |