Convert a time between zones
convert_timeConvert a wall-clock time from one time zone into multiple target zones, marking any date change and giving the corresponding UTC instant.
Instructions
Convert one time from from_zone into every zone in to_zones, marking any day change, plus the UTC instant. The time is wall-clock in from_zone unless it carries an offset or a trailing Z. '3pm tomorrow' works.
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": {
"time": "<time>",
"from_zone": "<from_zone>",
"to_zones": "<to_zones>"
},
"name": "convert_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | What to do with a time that does not exist because the clocks jumped forward: 'forward' takes the time after the jump, 'backward' the time before it. Without this, such a time is refused. | |
| fold | No | Which occurrence of a time that happens twice because the clocks went back. Default 'first'. | |
| time | Yes | '2026-09-10 15:00', '2026-09-10T15:00:00Z', '3pm tomorrow', 'now' | |
| to_zones | Yes | Places to convert into | |
| from_zone | Yes | Place the time is given in, e.g. 'Warsaw' or 'Europe/Warsaw' |