Categories

Zip Object

Create an object from keys and values using lodash _.zipObject

Create an object by pairing keys and values by index. **Highlights:** - Uses lodash `_.zipObject` - Accepts JSON arrays for keys and values - Missing values default to undefined **Example:** - Keys: `["id", "name"]` - Values: `[1, "Ada"]` - Result: `{"id": 1, "name": "Ada"}`

Enter a JSON array of keys

Enter a JSON array of values

API Documentation

Request Endpoint

POST /en/api/tools/zip-object

Request Parameters

Parameter Name Type Required Description
keys textarea Yes Enter a JSON array of keys
values textarea Yes Enter a JSON array of values

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-object": {
      "name": "zip-object",
      "description": "Create an object from keys and values using lodash _.zipObject",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=zip-object",
      "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]