Array Slicer
Extract specific portions from arrays with support for various slicing methods and flexible range selection
API Documentation
Request Endpoint
POST /en/api/tools/array-slicer
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| arrayInput | textarea | Yes | - |
| sliceMode | select | Yes | - |
| delimiter | select | Yes | - |
| customDelimiter | text | No | - |
| startIndex | number | No | - |
| step | number | No | - |
| positions | text | No | - |
| outputFormat | select | Yes | - |
| preserveIndices | checkbox | No | - |
| trimElements | 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-slicer": {
"name": "array-slicer",
"description": "Extract specific portions from arrays with support for various slicing methods and flexible range selection",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=array-slicer",
"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]