Join Array
Join array items into a single string with a custom separator
Join array items into a single string using a custom separator.
**Highlights:**
- Accepts a JSON array
- Uses the separator exactly as provided
- Objects/arrays are JSON-stringified before joining
**Example:**
- Array: `["a", "b", "c"]`
- Separator: `-`
- Result: `a-b-c`
API Documentation
Request Endpoint
POST /en/api/tools/join-array
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| array | textarea | Yes | Enter a JSON array |
| separator | text | No | String placed between items |
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-join-array": {
"name": "join-array",
"description": "Join array items into a single string with a custom separator",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=join-array",
"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]