Hash
hashGenerate a fixed-length hexadecimal digest from any input string using MD5 or SHA-256. Select the algorithm to validate data integrity or verify content.
Instructions
Compute the md5 or sha256 hex digest of the input string.
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": {
"input": "<input>",
"algo": "<algo>"
},
"name": "hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algo | Yes | The hash algorithm to use. | |
| input | Yes | The string to hash. |