Base64 Encode/Decode
base64Encode UTF-8 text into a portable encoded format for safe transmission, or decode encoded strings back to their original readable content.
Instructions
Encode a UTF-8 string to base64, or decode a base64 string back to UTF-8.
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>",
"mode": "<mode>"
},
"name": "base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Whether to encode or decode the input. | |
| input | Yes | The string to encode or decode. |