analyze_line_endings
Scan files for CRLF and LF conflicts, with optional auto-correction to enforce consistent line endings across platforms.
Instructions
Detect line ending inconsistencies (CRLF vs LF)
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": "analyze_line_endings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory or file path to analyze | |
| autoFix | No | Suggest auto-fix options | |
| preferredEnding | No | Preferred line ending style | LF |