Convert a local time
convert_timeConvert a local time in one city into one or more other cities' time zones, e.g. 3pm in Warsaw in New York and Bangalore. Use when the user names a time in one place and asks what it is elsewhere, or whether it falls in work hours there. Each city has its IANA time zone and says whether the converted time is in work hours. Each city says whether that local date is a public holiday. The result includes a https://timeofmeeting.com link for a 60-minute meeting. A different length can be set when the invitation is built. status is unique when that clock time happens once, gap when the clocks skip it, or overlap when it happens twice. wall.utc is the chosen instant. When no offset is given, that is the compatible reading: the later side of a gap and the earlier side of an overlap.
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": "<from>",
"to": "<to>",
"time": "<time>"
},
"name": "convert_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Cities to convert into. A list of strings. Each item is one city. A comma in an item adds a region, state or country to that city; it is not a second city. One city: a name, a city id from a city search, an IANA time zone such as Europe/Copenhagen, or a zone abbreviation or fixed offset such as EST, CET, UTC or UTC+2. A comma adds a region, state or country to that one city, for example "Paris, France", "Paris, TX" or "Munich, Bavaria"; it is not a second city. Multiple cities must be separate list items, for example ["Berlin","Rome"]. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives. | |
| from | Yes | The city the clock time belongs to. One city: a name, a city id from a city search, an IANA time zone such as Europe/Copenhagen, or a zone abbreviation or fixed offset such as EST, CET, UTC or UTC+2. A comma adds a region, state or country to that one city, for example "Paris, France", "Paris, TX" or "Munich, Bavaria"; it is not a second city. Multiple cities must be separate list items, for example ["Berlin","Rome"]. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives. | |
| time | Yes | Local time in the from city, YYYY-MM-DD HH:MM or YYYY-MM-DDTHH:MM. An offset such as 2027-10-31T02:30+02:00 selects that instant when the clock time happens twice. A time alone, such as 09:00, 9:00, or 09:00:00, is that time today in the from city. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| utc | Yes | ||
| from | Yes | ||
| link | Yes | ||
| wall | Yes | ||
| error | No | ||
| links | Yes | ||
| weeks | Yes | ISO week (Monday start; week 1 contains the year's first Thursday) and US week (Sunday start; 1 January is week 1 of that calendar year). | |
| candidates | No | ||
| zone_notes | No | Present when a city argument was a time zone abbreviation or fixed offset such as EST or UTC+2. Says which time zone it was read as, and what else the abbreviation can mean. | |
| alternatives | No | Other cities that matched the same name, after the best-ranked city was chosen. The order is the site search order: match, then priority, then population. |