hash_text
Hash a string using MD5, SHA1, SHA256, or SHA512; returns algorithm and hex digest.
Instructions
Compute a cryptographic hash of a string.
algorithm is one of md5, sha1, sha256 (default), or sha512.
Returns the algorithm used and the lowercase hex digest.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||