hash
md5, sha1, sha256, sha512 (or 'all') of text or base64-encoded bytes, as hex and base64; optional hmac key for a keyed digest. Cost €0.0005 per call, charged to the API key in Authorization: Bearer. Parameters — text: string (plain or base64, see encoding); encoding: utf8 (default) | base64; algo: md5 | sha1 | sha256 | sha512 | comma-list | all; key: HMAC key, optional.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| algo | No | ||
| text | No | ||
| encoding | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |