Data Processing
Reorder table columns without changing the data rows
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/column-reorder' \
-H 'Content-Type: application/json' \
-d '{"data":"Enter CSV or table data to reorder columns...","delimiter":"auto","orderMode":"keep","newOrder":"Enter new column order (comma-separated): column3,column1,column2 or by numbers: 3,1,2","hasHeader":true,"includePreview":true,"formatOutput":"json"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/column-reorder| Name | Type | Required | Description |
|---|---|---|---|
| data | textarea | Yes | — |
| delimiter | select | No | — |
| orderMode | select | No | — |
| newOrder | textarea | No | — |
| hasHeader | checkbox | No | — |
| includePreview |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-column-reorder": {
"name": "column-reorder",
"description": "Reorder table columns without changing the data rows",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=column-reorder",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "column-reorder",
"arguments": {
"data": "Enter CSV or table data to reorder columns...",
"delimiter": "auto",
"orderMode": "keep",
"newOrder": "Enter new column order (comma-separated): column3,column1,column2 or by numbers: 3,1,2",
"hasHeader": true,
"includePreview": true,
"formatOutput": "json"
}
}
}Questions or issues? Contact [email protected]
| checkbox |
| No |
| — |
| formatOutput | select | No | — |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}