Encode / decode: base64, base64url, hex, URL, HTML
util_encodeEncode or decode text: base64, base64url, hex, URL percent-encoding, HTML entities. Decoding binary data returns is_utf8=false plus the hex bytes instead of broken text. Invalid input returns a 400 error (not charged). Up to 100,000 characters. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are free.
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": {
"text": "<text>",
"op": "<op>"
},
"name": "util_encode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | Operation | |
| text | Yes | Input text |