Intersection Arrays
Find common values across multiple arrays using lodash _.intersection
Find the shared values that appear in every provided array.
**Highlights:**
- Uses lodash `_.intersection`
- Accepts 2-3 JSON arrays
- Optional case-insensitive matching for string arrays
**Example:**
- Array 1: `[1, 2, 3]`
- Array 2: `[2, 3, 4]`
- Result: `[2, 3]`
API Documentation
Request Endpoint
POST /en/api/tools/intersection-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 |
| caseSensitive | checkbox | No | Uncheck for case-insensitive string matching |
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-intersection-arrays": {
"name": "intersection-arrays",
"description": "Find common values across multiple arrays using lodash _.intersection",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=intersection-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]