decode_bytes
Decodes hex bytes as Japanese EBCDIC text and lists decoding problems, helping diagnose hex dumps or error messages.
Instructions
Decode hex bytes (e.g. from a hex dump or an error message) as Japanese EBCDIC, with problems listed.
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": {
"hex": "<hex>"
},
"name": "decode_bytes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | Yes | ||
| codepage | No | ibm930 = katakana in single-byte (no lowercase); ibm939 = Latin with lowercase. auto detects it and says what it assumed in notes. | auto |
| dbcs_only | No |