Util hash
util_hashUse when you need a checksum or digest of a string: sha256 (default), sha1, sha384, sha512 and md5 of text given as utf8, hex or base64 (up to 64 KB), hex digests, no external call. Returns the paid x402 request for your input (GET /util/hash, $0.001 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. First call each day returns the data itself, free; later calls return the paid request.
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>"
},
"name": "util_hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algo | No | Comma list of sha256, sha1, sha384, sha512, md5 or all | sha256 |
| text | Yes | Input to hash | |
| encoding | No | How text is encoded | utf8 |