hash
[x402 paid: $0.003 USDC on Base] SHA digest of any text: sha1/sha256/sha384/sha512, hex or base64 output. tools/call returns the live payment challenge.
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 |
|---|---|---|---|
| enc | No | example: hex | |
| algo | No | example: sha256 | |
| text | No | example: hello |