Categories

Diff Formatter

Format and display text differences in various styles (unified, context, side-by-side)

API Documentation

Request Endpoint

POST /en/api/tools/diff-formatter

Request Parameters

Parameter Name Type Required Description
text1 textarea Yes -
text2 textarea Yes -
formatStyle select Yes -
showLineNumbers checkbox No -
contextLines number No -

Response Format

{
  "result": "Processed text content",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}
Text: Text

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-diff-formatter": {
      "name": "diff-formatter",
      "description": "Format and display text differences in various styles (unified, context, side-by-side)",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=diff-formatter",
      "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]