Base64 Encode / Decode
base64Encode UTF-8 text to Base64, or decode Base64 back to text. Supports the standard and URL-safe alphabets.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Whether to encode text into Base64 or decode Base64 into text. | |
| text | Yes | Text to encode, or Base64 to decode. | |
| urlSafe | No | Use the URL-safe alphabet (-/_ instead of +//, no padding). |