{"id":"path-format-convert","version":"1.0.0","description":"Convert file paths between POSIX and Windows formats, handling slashes, drive letters, and roots lexically.","supported_operations":["path format convert","posix to windows path","windows to posix path","path separator convert"],"unsupported_operations":["stat file","resolve symlinks","filesystem access","add drive letter"],"semantics":"posix->windows: replace / with \\, prepend \\ if starts with / making it a rooted-but-driveless Windows path. windows->posix: replace \\ with /, drive letter C:\\ becomes /c/ (lowercase), UNC \\\\server\\share -> //server/share. Does not resolve . or .. further. changed:false when input is already in target format.","limits":{"max_path_bytes":4096},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","required":["path","to"],"properties":{"path":{"type":"string","minLength":1,"maxLength":4096},"to":{"type":"string","enum":["posix","windows"]},"from":{"type":"string","enum":["posix","windows","auto"]}}},"output_schema":{"type":"object","required":["converted","from","to","changed"],"properties":{"converted":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"changed":{"type":"boolean"}}},"examples":[{"input":{"path":"/usr/local/bin","to":"windows"},"output":{"converted":"\\usr\\local\\bin","from":"posix","to":"windows","changed":true}},{"input":{"path":"C:\\Windows\\System32","to":"posix"},"output":{"converted":"/c/Windows/System32","from":"windows","to":"posix","changed":true}},{"input":{"path":"//server/share/file.txt","to":"windows"},"output":{"converted":"\\\\server\\share\\file.txt","from":"posix","to":"windows","changed":true}}],"execute_url":"/v1/tools/path-format-convert/versions/1.0.0/execute"}