Base64 encode / decode
base64Encode text to Base64 or decode Base64 back to text, UTF-8 safe, with an optional URL-safe alphabet. Runs on smart-tools.xyz.
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>"
},
"name": "base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to encode, or Base64 to decode | |
| locale | No | Language for the source_url link (default en) | |
| url_safe | No | Use URL-safe alphabet (-_ instead of +/, no padding). Default false | |
| direction | No | encode (default) or decode |