Content hash / cache key
content_hashSHA-256/1/384/512 of a text body for cache keys and content addressing. Optional normalize (lf, trim, json canonical). Returns hex, base64, short prefix and byte length. Input not stored. Free: 10 calls/day; then $0.001/call via x402 (MCP params._meta["x402/payment"] or HTTP) or X-API-Key credits. [served by tools.moneytools.dev]
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": "content_hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algo | No | sha256 | sha1 | sha384 | sha512 | |
| text | Yes | text or JSON body to hash | |
| normalize | No | none | lf | trim | lf-trim | json | |
| prefixLen | No | short key hex length 8-64 (default 16) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||