Categories

Pull Values

Remove specific values from an array using lodash _.pull

Remove all occurrences of specified values from an array. **Highlights:** - Uses lodash `_.pull` - Accepts values to remove as a JSON array - Optional case-insensitive matching for string arrays **Example:** - Array: `[1, 2, 2, 3]` - Values: `[2]` - Result: `[1, 3]`

Enter a JSON array

JSON array of values to remove

Uncheck for case-insensitive string matching

API Documentation

Request Endpoint

POST /en/api/tools/pull-values

Request Parameters

Parameter Name Type Required Description
array textarea Yes Enter a JSON array
values textarea Yes JSON array of values to remove
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-pull-values": {
      "name": "pull-values",
      "description": "Remove specific values from an array using lodash _.pull",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pull-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]