translate_to_iso
Pack: timeapi-io · Endpoint: https://gateway.pipeworx.io/timeapi-io/mcp
Parse custom-format date to ISO.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
date | string | yes | |
format | string | yes |
Example call
Arguments
{
"date": "15/01/2024",
"format": "dd/MM/yyyy"
}
curl
curl -X POST https://gateway.pipeworx.io/timeapi-io/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"translate_to_iso","arguments":{"date":"15/01/2024","format":"dd/MM/yyyy"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('translate_to_iso', {
"date": "15/01/2024",
"format": "dd/MM/yyyy"
});
More examples
{
"date": "January 15, 2024 2:30 PM",
"format": "MMMM dd, yyyy h:mm a"
}
Response shape
Full JSON Schema
{
"type": "object",
"description": "Parsed datetime in ISO format"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"timeapi-io": {
"url": "https://gateway.pipeworx.io/timeapi-io/mcp"
}
}
}
See Getting Started for client-specific install steps.