Timezone Conversion
ref_timezone_convertConvert a local datetime from one timezone to another. Takes a local time string (no UTC offset, e.g., "2026-05-24T15:30:00") interpreted as local time in the source timezone, returns the equivalent local time in the target timezone. Shows both UTC offsets so DST transitions are visible. Accepts full IANA IDs (e.g., "Asia/Tokyo") or unambiguous city names (e.g., "Tokyo").
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": {
"datetime": "<datetime>",
"from_tz": "<from_tz>",
"to_tz": "<to_tz>"
},
"name": "ref_timezone_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_tz | Yes | Target IANA timezone ID or unambiguous city name (e.g., "America/New_York" or "New York"). | |
| from_tz | Yes | Source IANA timezone ID or unambiguous city name (e.g., "Asia/Tokyo" or "Tokyo"). | |
| datetime | Yes | Local datetime in ISO 8601 format without timezone offset (e.g., "2026-05-24T15:30:00"). Do not include "Z" or an offset suffix. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| source | No | Source datetime details. | |
| target | No | Target datetime details. | |
| utc_equivalent | No | The UTC equivalent of the input datetime (ISO 8601 with Z suffix). |