file_encoding
Charset forensics that never guesses: BOM table (5), strict utf-8 validation, and 'undetermined' with the exact failing byte offset + hex when the bytes do not prove a codec. The honest sibling of /text/decode. Free.
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": {
"blob": "<blob>"
},
"name": "file_encoding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blob | Yes | base64 of the bytes |