Categories

Array Element Replacer

Replace specific elements in arrays with support for multiple replacement methods

API Documentation

Request Endpoint

POST /en/api/tools/array-element-replacer

Request Parameters

Parameter Name Type Required Description
arrayInput textarea Yes -
replaceMode select Yes -
delimiter select Yes -
customDelimiter text No -
searchValue text No -
replaceValue text No -
positionList text No -
caseSensitive checkbox No -
preserveOriginal checkbox No -
showChanges checkbox No -
trimElements checkbox No -
preserveEmpty checkbox 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-element-replacer": {
      "name": "array-element-replacer",
      "description": "Replace specific elements in arrays with support for multiple replacement methods",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=array-element-replacer",
      "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]