encode_base85
Encode or decode text using Base85 (Ascii85) to achieve more efficient encoding than Base64 with only 25% overhead.
Instructions
Encode or decode text using Base85 (Ascii85) encoding.
Use this for more efficient encoding than Base64 — Base85 encodes
4 bytes as 5 ASCII characters, achieving 25% overhead vs Base64's 33%.
Parameters:
text — The string to encode or decode (required).
mode — "encode" (text → Base85, default) or "decode" (Base85 → text).
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_base85"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| mode | No | encode |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |