Legacy: hash → util.hash
hashGenerates a cryptographic hash of input text using SHA-256, SHA-1, or MD5. Choose algorithm to produce a fixed-length digest for verification or data integrity.
Instructions
Legacy alias for util.hash (GET /v1/hash). Prefer util.hash.
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": {
"q": "<q>"
},
"name": "hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Text to hash. | |
| algo | No | Hash algorithm. | sha256 |