generate_hash
Generate hash of text using md5, sha1, sha256, or sha512 algorithms. Specify text encoding for accurate results.
Instructions
Generate hash of text using specified algorithm.
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 |
|---|---|---|---|
| text | Yes | Text to hash | |
| algorithm | No | Hash algorithm - md5, sha1, sha256, sha512 (default: sha256) | sha256 |
| encoding | No | Text encoding (default: utf-8) | utf-8 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |