Utilities
Find and unify date formats within text content
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/text-date-format-unifier' \
-H 'Content-Type: application/json' \
-d '{"textContent":"Enter text containing dates to format...","inputFormat":"auto-detect","targetFormat":"YYYY-MM-DD","customFormat":"Enter custom format (YYYY-MM-DD HH:mm:ss)","timezone":"UTC","preserveOriginal":false,"replaceAll":true,"caseSensitive":false,"wholeWord":false}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/text-date-format-unifier| Name | Type | Required | Description |
|---|---|---|---|
| textContent | textarea | Yes | — |
| inputFormat | select | No | — |
| targetFormat | select | No | — |
| customFormat | text | No | Use YYYY, MM, DD, HH, mm, ss patterns. Example: YYYY-MM-DD HH:mm:ss |
| timezone | select | No | — |
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-text-date-format-unifier": {
"name": "text-date-format-unifier",
"description": "Find and unify date formats within text content",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=text-date-format-unifier",
"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": "text-date-format-unifier",
"arguments": {
"textContent": "Enter text containing dates to format...",
"inputFormat": "auto-detect",
"targetFormat": "YYYY-MM-DD",
"customFormat": "Enter custom format (YYYY-MM-DD HH:mm:ss)",
"timezone": "UTC",
"preserveOriginal": false,
"replaceAll": true,
"caseSensitive": false,
"wholeWord": false
}
}
}Questions or issues? Contact [email protected]
| preserveOriginal |
| checkbox |
| No |
| — |
| replaceAll | checkbox | No | — |
| caseSensitive | checkbox | No | — |
| wholeWord | checkbox | No | — |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}