path-portability
File path portability check across Windows, macOS and Linux — Checks up to 500 relative file paths for names that break or collide on Windows, macOS or Linux: Windows reserved device names (CON.txt, NUL.tar.gz, COM¹), reserved characters, trailing dots and spaces, component and total length limits, and distinct paths that become one file through case folding or NFC/NFD normalization. For an agent that writes files from an archive, a generated tree or a repo
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": {
"paths": "<paths>"
},
"name": "path-portability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Relative paths with "/" separators. At most 200000 characters in total. | |
| targets | No | Default: windows, macos and linux. | |
| destinationRoot | No | Directory the paths will be created under; counted towards the total path length. |