Data Processing
Rename column headers in CSV and table data with preview and validation
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/column-renamer' \
-H 'Content-Type: application/json' \
-d '{"data":"Enter CSV or table data (first row should contain headers)...","delimiter":"auto","renameMapping":"Enter column mapping (one per line): old_name=new_name or \"Old Name\"=\"New Name\"","autoDetect":true,"caseConversion":"snake","specialCharHandling":"replace-underscore","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-renamer| Name | Type | Required | Description |
|---|---|---|---|
| data | textarea | Yes | — |
| delimiter | select | No | — |
| renameMapping | textarea | No | — |
| autoDetect | checkbox | No | — |
| caseConversion | select | No | — |
| specialCharHandling |
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-renamer": {
"name": "column-renamer",
"description": "Rename column headers in CSV and table data with preview and validation",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=column-renamer",
"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-renamer",
"arguments": {
"data": "Enter CSV or table data (first row should contain headers)...",
"delimiter": "auto",
"renameMapping": "Enter column mapping (one per line): old_name=new_name or \"Old Name\"=\"New Name\"",
"autoDetect": true,
"caseConversion": "snake",
"specialCharHandling": "replace-underscore",
"includePreview": true,
"formatOutput": "json"
}
}
}Questions or issues? Contact [email protected]
| select |
| No |
| — |
| includePreview | checkbox | No | — |
| formatOutput | select | No | — |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}