Base64 encode/decode
base64Base64 / base64url encode a UTF-8 string or decode base64 back to text (binary results returned as hex). Price: $0.001 per successful call via x402 (eip155:8453); 5 free calls/day across all tools.
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": {
"input": "<input>"
},
"name": "base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | encode (default) or decode | |
| input | Yes | Text to encode or base64 to decode | |
| url_safe | No | Use base64url alphabet when encoding |