Without Values
Remove specified values from an array using lodash _.without
Return a new array without the specified values.
**Highlights:**
- Uses lodash `_.without`
- Accepts values to remove as a JSON array
- Does not mutate the original array
**Example:**
- Array: `[1, 2, 2, 3]`
- Values: `[2]`
- Result: `[1, 3]`
API Documentation
Request Endpoint
POST /en/api/tools/without-values
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| array | textarea | Yes | Enter a JSON array |
| values | textarea | Yes | JSON array of values to remove |
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-without-values": {
"name": "without-values",
"description": "Remove specified values from an array using lodash _.without",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=without-values",
"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]