Categories

Zip Arrays

Combine arrays by index using lodash _.zip

Group elements by index across multiple arrays. **Highlights:** - Uses lodash `_.zip` - Accepts 2-4 JSON arrays - Missing values are filled with null **Example:** - Array 1: `["a", "b"]` - Array 2: `[1, 2]` - Result: `[["a", 1], ["b", 2]]`

Enter a JSON array

Enter a JSON array

Optional third array

Optional fourth array

API Documentation

Request Endpoint

POST /en/api/tools/zip-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-zip-arrays": {
      "name": "zip-arrays",
      "description": "Combine arrays by index using lodash _.zip",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=zip-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]