Current time in a time zone
get_current_timeCurrent date and time in an IANA time zone, with its UTC offset, abbreviation, whether daylight saving time is in effect, and the next offset change. Use find_timezone first if you only have a city or country name.
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": {
"tz": "<tz>"
},
"name": "get_current_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | Yes | IANA time zone name, e.g. Europe/Paris |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iso | Yes | Local time with its UTC offset, YYYY-MM-DDTHH:MM:SS±HH:MM | |
| utc | Yes | UTC instant, YYYY-MM-DDTHH:MM:SSZ | |
| isDst | Yes | Whether daylight saving time is in effect | |
| local | Yes | Wall-clock time without an offset, YYYY-MM-DDTHH:MM:SS | |
| source | Yes | Where the data or the algorithm comes from. | |
| unixMs | Yes | Milliseconds since 1970-01-01T00:00:00Z | |
| timeZone | Yes | IANA time zone name | |
| utcOffset | Yes | UTC offset, ±HH:MM | |
| abbreviation | Yes | Short zone name from CLDR ("CET"), or "GMT+9" where none exists | |
| nextTransition | Yes | ||
| utcOffsetMinutes | Yes | UTC offset in minutes, east positive |