encode_base64
Encode text into Base64 format for use in data URLs, JSON, or API payloads.
Instructions
Encode text to Base64 format. Example: "Hello World" → "SGVsbG8gV29ybGQ="
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": "encode_base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to encode to Base64 |