calculate_hash
Calculate SHA-256, SHA-1, or RIPEMD-160 hashes from input data for integrity verification and blockchain timestamping.
Instructions
Calculate the hash of data using the specified algorithm (sha256, sha1, or ripemd160)
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": {
"data": "<data>"
},
"name": "calculate_hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The data to hash (as string) | |
| algorithm | No | Hash algorithm to use | sha256 |