timestamp_to_date
Convert Unix timestamps (seconds or milliseconds) to human-readable ISO 8601 date strings, with optional IANA timezone support for accurate local time representation.
Instructions
Convert a Unix timestamp (seconds or milliseconds) to a human-readable ISO 8601 date string.
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": {
"timestamp": "<timestamp>"
},
"name": "timestamp_to_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timestamp | Yes | Unix timestamp (seconds or milliseconds) | |
| timezone | No | IANA timezone (e.g., 'America/New_York', 'Europe/London', default: UTC) | UTC |