Encode binary payload
binary_encodeConvert data between UTF-8, hex, base64, and JSON formats, outputting to base64, hex, or UTF-8. Simplify encoding transformations for your automation tasks.
Instructions
Encode UTF-8, hex, base64, or JSON input into base64, hex, or UTF-8.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "binary_encode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| inputEncoding | No | utf8 | |
| outputEncoding | No | base64 |