decode_payload
Decode base64, base64url, hex, URL-encoded values or JWTs locally. Automatically detects the format and shows alternate decodings when input is ambiguous.
Instructions
Decode base64, base64url, hex, URL-encoding or a JWT, detecting the format when encoding is 'auto'. Ambiguous input returns every plausible decoding under alternatives rather than picking one silently. Local only: nothing is sent anywhere. Cost: free, no quota, instant.
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": {
"data": "<data>"
},
"name": "decode_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The encoded value. | |
| encoding | No | Force an encoding, or 'auto' to detect. | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decoded | Yes | ||
| printable | No | ||
| truncated | No | ||
| alternatives | No | ||
| bytes_length | No | ||
| encoding_chain | No | ||
| detected_encoding | Yes |