util_base64
Base64 encode and decode — Encode text to Base64 (standard or URL-safe) or decode Base64 back to text, with byte counts and a hex preview for binary data. Price: $0.001 USDC (Base, via x402).
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>",
"decode": "<decode>"
},
"name": "util_base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | text to encode (or use decode) | |
| decode | Yes | Base64 string to decode | |
| urlsafe | No | optional true for URL-safe alphabet |