Path format convert

path-format-convert · version 1.0.0 · File paths (lexical) · free, no key needed

Convert file paths between POSIX and Windows formats, handling slashes, drive letters, and roots lexically.

Use when you need to: path format convert · posix to windows path · windows to posix path.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "path": "/usr/local/bin",
  "to": "windows"
}

Response:

{
  "result": {
    "converted": "\\usr\\local\\bin",
    "from": "posix",
    "to": "windows",
    "changed": true
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "path-format-convert",
  "version": "1.0.0",
  "input": {
    "path": "/usr/local/bin",
    "to": "windows"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/path-format-convert/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"path":"/usr/local/bin","to":"windows"}'

The machine-readable contract is at /v1/tools/path-format-convert/versions/1.0.0.

CLI

node cli.mjs run path-format-convert 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.