hash_sha256
Compute SHA-256 hash of a string or base64-encoded bytes, returning a hexadecimal digest for data integrity verification.
Instructions
Compute SHA-256 hash.
Args: data: String or base64-encoded bytes to hash.
Returns: Hex-encoded hash.
Example: >>> hash_sha256("Hello, World!") 'dffd6021bb2bd5b0af676290809ec3a53191dd81c7f70a4b28688a362182986f'
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": {
"data": "<data>"
},
"name": "hash_sha256"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |