Categories

Uniq With

Remove duplicates using lodash _.uniqWith and deep equality

Remove duplicates using a deep equality comparator. **Highlights:** - Uses lodash `_.uniqWith` - Compares items with `_.isEqual` - Useful for arrays of objects **Example:** - Array: `[{"id": 1}, {"id": 1}, {"id": 2}]` - Result: `[{"id": 1}, {"id": 2}]`

Enter a JSON array

API Documentation

Request Endpoint

POST /en/api/tools/uniq-with

Request Parameters

Parameter Name Type Required Description
array textarea Yes Enter a JSON array

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-uniq-with": {
      "name": "uniq-with",
      "description": "Remove duplicates using lodash _.uniqWith and deep equality",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=uniq-with",
      "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]