Xor Arrays
Compute the symmetric difference of arrays using lodash _.xor
Return values that appear in only one of the provided arrays.
**Highlights:**
- Uses lodash `_.xor`
- Accepts 2-4 JSON arrays
- Useful for symmetric differences
**Example:**
- Array 1: `[1, 2, 3]`
- Array 2: `[2, 3, 4]`
- Result: `[1, 4]`
API Documentation
Request Endpoint
POST /en/api/tools/xor-arrays
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| array1 | textarea | Yes | Enter a JSON array |
| array2 | textarea | Yes | Enter a JSON array |
| array3 | textarea | No | Optional third array |
| array4 | textarea | No | Optional fourth 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-xor-arrays": {
"name": "xor-arrays",
"description": "Compute the symmetric difference of arrays using lodash _.xor",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=xor-arrays",
"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]