Array Filter
Filter out elements of specific types from arrays (remove numbers, strings, booleans, etc.)
API Documentation
Request Endpoint
POST /en/api/tools/array-filter
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| inputArray | textarea | Yes | - |
| filterType | select | Yes | - |
| includeNull | checkbox | No | - |
| includeUndefined | checkbox | No | - |
| caseSensitive | checkbox | No | - |
| trimWhitespace | checkbox | No | - |
| customSeparator | text | No | - |
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-array-filter": {
"name": "array-filter",
"description": "Filter out elements of specific types from arrays (remove numbers, strings, booleans, etc.)",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=array-filter",
"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]