Categories

Path Analyzer

Analyze file paths, identify Windows/Unix formats, extract components, and normalize paths

## Features Comprehensive file path analysis supporting multiple formats: - **Windows Paths**: `C:\path\to\file.txt` with drive letter detection - **Unix Paths**: `/path/to/file.txt` with root directory - **UNC Paths**: `\\server\share\file.txt` network paths - **Relative Paths**: `./path/file.txt` or `../parent/file.txt` ## Analysis Extracts complete path components: - **Root**: Drive letter or root directory - **Directory**: Full directory path - **Filename**: Base filename with extension - **Name**: Filename without extension - **Extension**: File extension (including dot) - **Depth**: Number of directory levels ## Normalization Convert paths between formats: - Convert Windows to Unix (backslash to forward slash) - Convert Unix to Windows (forward slash to backslash) - Auto-detect and normalize based on path content ## Detection Identifies: - Path type (Windows, Unix, UNC, relative, absolute) - Platform type (Windows, Unix, unknown) - Absolute vs relative paths - Trailing separator presence

Display root, drive, directory, name, and extension separately

API Documentation

Request Endpoint

POST /en/api/tools/path-analyzer

Request Parameters

Parameter Name Type Required Description
pathInput text Yes -
normalizePlatform select No -
showDetailed checkbox No Display root, drive, directory, name, and extension separately

Response Format

{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
JSON Data: JSON Data

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-path-analyzer": {
      "name": "path-analyzer",
      "description": "Analyze file paths, identify Windows/Unix formats, extract components, and normalize paths",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=path-analyzer",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]