Tief Einzigartig
Entfernt Duplikate mit lodash _.uniqWith tief
Entfernt Duplikate mit einem Deep-Equality Vergleich.
**Highlights:**
- Verwendet lodash `_.uniqWith`
- Vergleicht mit `_.isEqual`
- Geeignet fuer Objekt-Arrays
**Beispiel:**
- Array: `[{"id": 1}, {"id": 1}, {"id": 2}]`
- Ergebnis: `[{"id": 1}, {"id": 2}]`
API-Dokumentation
Request-Endpunkt
POST /de/api/tools/uniq-with
Request-Parameter
| Parameter-Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| array | textarea | Ja | JSON-Array eingeben |
Antwortformat
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
Text:
Text
MCP-Dokumentation
Fügen Sie dieses Tool zu Ihrer MCP-Server-Konfiguration hinzu:
{
"mcpServers": {
"elysiatools-uniq-with": {
"name": "uniq-with",
"description": "Entfernt Duplikate mit lodash _.uniqWith tief",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=uniq-with",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
Sie können mehrere Tools verketten, z.B.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, maximal 20 Tools.
Wenn Sie auf Probleme stoßen, kontaktieren Sie uns bitte bei [email protected]