Compute a text digest
generate-hashCompute SHA-256 or legacy MD5 text digests. Use for non-secret content fingerprints; generate-token creates new IDs instead. Returns a hex digest; unsuitable for password storage or key derivation.
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": "generate-hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algo | No | Digest algorithm: sha-256 (default) or legacy md5. | |
| text | Yes | Public or synthetic text to digest; never send secrets for hashing. |