Tail Items
Return all but the first array item using lodash _.tail
Return every item after the first element in a JSON array.
**Highlights:**
- Uses lodash `_.tail`
- Preserves array ordering
- Returns the tail as JSON
**Example:**
- Array: `["a", "b", "c"]`
- Result: `["b", "c"]`
API Documentation
Request Endpoint
POST /en/api/tools/tail-items
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| array | textarea | Yes | Enter a JSON array |
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-tail-items": {
"name": "tail-items",
"description": "Return all but the first array item using lodash _.tail",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=tail-items",
"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]