hash_text
Generate cryptographic hashes of input text using MD5, SHA-1, SHA-256, or SHA-512. Output in hex or base64 encoding for password hashing and data integrity checks.
Instructions
Generate a cryptographic hash of input text.
Use this for password hashing, data integrity checks, digital signatures,
or any scenario requiring a one-way hash of a string.
Parameters:
text — The text to hash (required).
algorithm — Hashing algorithm: "md5", "sha1", "sha256", or "sha512"
(default: "sha256"). SHA-256 and SHA-512 are recommended for
security-sensitive use.
encoding — Output encoding: "hex" or "base64" (default: "hex").
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": "hash_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| algorithm | No | sha256 | |
| encoding | No | hex |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |