Base64 Codec
base64_codecEncode UTF-8 text as standard Base64, or decode Base64 back to text. Unicode is preserved, same as the website encoder. No API token. This is for text, not files.
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>",
"mode": "<mode>"
},
"name": "base64_codec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | encode turns text into Base64. decode does the reverse. | |
| text | Yes | Text to encode, or Base64 to decode. Up to 100,000 characters. |