encode
encodeHash and encode text: SHA-256, SHA-1, SHA-512, MD5, HMAC-SHA256 (with key), Base64 / Base64url encode and decode, hex encode and decode, URL encode and decode, or a UUID. op=all returns every hash and encoding at once. Costs $0.002 USDC per call (x402).
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": "encode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | ||
| key | No | For hmac-sha256 | |
| text | No |