hash_compare
Compares text against an expected hash to verify integrity, using SHA-256 by default with optional algorithm selection.
Instructions
Compare text against an expected hash to verify integrity.
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": {
"text": "<text>",
"hash": "<hash>"
},
"name": "hash_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | Expected hash value. | |
| text | Yes | Text to hash and compare. | |
| algorithm | No | Hash algorithm (default: sha256). |