convert_timestamp
Convert Unix timestamps to human-readable dates and back, with timezone support for ISO 8601, RFC 2822, and Unix formats.
Instructions
Convert between Unix timestamps and human-readable dates. Returns ISO 8601, RFC 2822, human-readable, and Unix formats with timezone support.
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": "convert_timestamp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | IANA timezone (e.g., "America/New_York", "Europe/London"). Default: "UTC" | |
| timestamp | Yes | Unix timestamp (e.g., "1700000000") or date string (e.g., "2023-11-14") |