hash
Generate checksums for text or files using MD5, SHA, SHA3, Blake2, or CRC algorithms, optionally with HMAC keys, and verify results against an expected value.
Instructions
Hash text or any-size file: md5 sha1 sha256 sha512 sha3-256 blake2b512 crc32; HMAC via key; expected verifies.
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": "hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| path | No | or a file | |
| text | No | ||
| base64 | No | ||
| expected | No | ||
| algorithms | No | default sha256 |