Verify MergeLock Receipt
mergelock_verify_receiptUse when someone asks to cryptographically verify a mergelock-receipt (v1 or v2) JSON object or hash chain against MergeLock's official Ed25519 public keys without source code access.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mergelock_verify_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | No | A single mergelock-receipt (v1 or v2) JSON object to verify. | |
| receipts | No | Optional ordered list of mergelock-receipt objects for chain verification (up to 100). | |
| override_attestation | No | Optional mergelock-override-attestation.v1 JSON object (standalone or paired with receipt). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | Whether the Ed25519 signature, canonical payload digest, and chain links verified against official MergeLock public keys. | |
| key_id | No | Official MergeLock Ed25519 public key identifier that verified the signature. | |
| reason | No | Verification outcome or failure explanation. | |
| schema | No | Document schema identifier when verifying a single receipt or override attestation. | |
| source | No | Origin transport recorded inside a verified receipt. | |
| receipt_id | No | Receipt identifier extracted from the verified receipt. | |
| override_id | No | Override attestation identifier when an override attestation is verified. | |
| receipt_sha256 | No | Hex SHA-256 digest of the canonical receipt payload. | |
| verified_count | No | Number of consecutive receipts verified in a receipt hash chain. | |
| broken_at_index | No | Zero-based index where a receipt hash chain failed verification when valid is false. | |
| attestation_sha256 | No | Hex SHA-256 digest of the canonical override attestation payload. | |
| override_receipt_id | No | Blocked receipt identifier bound to a verified override attestation. |