encode_decode_base64
Encode text to base64 or decode base64 strings back to plain text, with optional URL-safe variant.
Instructions
Encode text to base64 or decode base64 back to plain text.
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>",
"action": "<action>"
},
"name": "encode_decode_base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to encode, or base64 string to decode | |
| action | Yes | Whether to encode or decode | |
| url_safe | No | Use URL-safe base64 variant (default: false) |