Multiline Merger
Merge multiple lines into a single line with customizable separators and formatting options
API Documentation
Request Endpoint
POST /en/api/tools/multiline-merger
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| text | textarea | Yes | - |
| separator | select | No | - |
| customSeparator | text | No | Only used when "Custom separator" is selected |
| trimMode | select | No | - |
| removeEmptyLines | checkbox | No | - |
| preserveSpaces | checkbox | No | Keep multiple consecutive spaces as they are |
| maxLineLength | number | No | - |
| addPrefix | text | No | Text that will be added before the merged content |
| addSuffix | text | No | Text that will be added after the merged content |
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-multiline-merger": {
"name": "multiline-merger",
"description": "Merge multiple lines into a single line with customizable separators and formatting options",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=multiline-merger",
"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]