disclosure_verify_prompt_hash
Verify a prompt hash in hashed-mode disclosure by comparing candidate text's SHA-256 against the prompt ID's stored hash. Returns ok or a mismatch error with expected and recomputed hashes.
Instructions
Verify a single prompt hash in a hashed-mode disclosure. Looks up prompt_id and compares canonical SHA-256 of candidate_text. Returns ok=true on match or { error: prompt_hash_mismatch, expected, recomputed }. Errors with wrong_prompt_mode if prompt_evidence_mode is not 'hashed'.
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_json": "<document_json>",
"prompt_id": "<prompt_id>",
"candidate_text": "<candidate_text>"
},
"name": "disclosure_verify_prompt_hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | Yes | ||
| document_json | Yes | ||
| candidate_text | Yes |