base64
Base64-encode or decode a string.
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 |
|---|---|---|---|
| mode | No | encode (default) or decode | |
| text | Yes | Text to encode, or Base64 to decode |