Convert Time Between Zones
tz_convertDeterministic timezone conversion: convert a timestamp between IANA timezones with full DST awareness. Models routinely miscalculate DST transitions - this gives exact results. Returns the converted time, UTC offsets for both zones on that date, and whether DST is active.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tz_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target IANA timezone, e.g. "Asia/Tokyo". Alias: to_tz. | |
| from | No | Source IANA timezone, e.g. "America/Chicago". Default UTC. Alias: from_tz. | |
| time | No | Alias for datetime. | |
| to_tz | No | Alias for to. | |
| from_tz | No | Alias for from. | |
| datetime | No | ISO 8601 datetime to convert, e.g. "2025-03-09T02:30:00". Aliases: timestamp, time. | |
| timestamp | No | Alias for datetime. |