encode_base64
Convert text strings to Base64 format for data transmission or storage using UTF8, hex, or binary encoding options.
Instructions
Encode string to Base64
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>"
},
"name": "encode_base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | String to encode | |
| encoding | No | Input encoding (default: utf8) |