verify
Check a commitment hash by recomputing it from session history or base64 payload bytes. Returns match, mismatch, or cannot_verify to confirm the claimed hash is valid.
Instructions
Check a commitment hash by recomputing it (RFC-MACP-0013).
Pass exactly one of session_id or payload_b64. outcome is match, mismatch, or
cannot_verify (the payload itself is not hashable under the label).
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": {
"commitment_hash": "<commitment_hash>"
},
"name": "verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Re-fetch the Commitment from this session's runtime history. | |
| payload_b64 | No | Or: base64 Commitment payload bytes you already hold. | |
| commitment_hash | Yes | The claimed hash, 'sha256:' followed by 64 hex digits. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| outcome | Yes | ||
| hash_label | Yes | ||
| session_id | No | ||
| claimed_hash | Yes | ||
| recomputed_hash | Yes |