base64_encode
Convert any string to Base64 encoding. Optionally use URL-safe variant with - and _ instead of + and /, ideal for URLs.
Instructions
Base64-encode a string. Optional URL-safe variant (RFC 4648 §5: -/_ instead of +//, no padding).
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_encode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| url_safe | No |