detect_encoding_issues
Analyzes files for encoding mismatches, byte order marks, and non-UTF encodings that create cross-platform compatibility issues.
Instructions
Detect file encoding issues that may cause cross-platform problems
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": {
"path": "<path>"
},
"name": "detect_encoding_issues"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory or file path to analyze | |
| checkBOM | No | Check for BOM (Byte Order Mark) issues | |
| preferredEncoding | No | Preferred file encoding | UTF-8 |