Convert a time between zones
convert_timeConvert a local wall-clock time in one IANA time zone to other time zones, DST-correct. Returns the instant in UTC and, for every zone, the local time with its UTC offset, the offset from the source zone and the calendar-day shift. Reports whether the local time was skipped (gap) or repeated (fold) by a clock change. Use search_cities to turn a city name into a time zone, and get_current_time for now.
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": {
"from_tz": "<from_tz>",
"local_time": "<local_time>",
"to_tzs": "<to_tzs>"
},
"name": "convert_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_tzs | Yes | IANA time zone names to convert to, 1 to 100, for example ["Europe/Paris", "America/New_York"]. | |
| from_tz | Yes | IANA time zone name of the given local time, for example "Asia/Tokyo". | |
| local_time | Yes | Local wall-clock time in from_tz, "YYYY-MM-DDTHH:MM" (seconds optional), without an offset, for example "2026-12-07T15:00". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The instant in each of to_tzs, in request order. | |
| from | Yes | The instant in from_tz. | |
| instant | Yes | The instant the local time refers to, RFC 3339 in UTC. | |
| resolution | Yes | How the local time was read: "exact"; "gap" when it does not exist because clocks jumped forward (it is moved forward by the jump, so 02:30 becomes 03:30); "fold" when it happens twice because clocks went back (the first occurrence is used). |