Convert a Unix timestamp or date
convert_timestampConvert a Unix timestamp or a date to Unix seconds, Unix milliseconds, ISO 8601 (UTC), an HTTP-style UTC string and a readable date in the chosen time zone. Numbers with 13 or more digits are read as milliseconds, shorter ones as seconds. Dates without a time zone are read as UTC. Errors are returned for unreadable dates and unknown time zones.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"value": "<value>"
},
"name": "convert_timestamp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | e.g. 1767225600 or 2026-10-27T09:30:00Z | |
| timeZone | No | IANA time zone, e.g. Asia/Kolkata | UTC |