Current time in a time zone
time_in_zoneReturns the current date and time in a specified IANA time zone so users can check local time for a city or region.
Instructions
Returns the current date and time in the given IANA time zone (e.g. Europe/Amsterdam, America/New_York). Use it whenever the user asks what time it is somewhere.
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": {
"timeZone": "<timeZone>"
},
"name": "time_in_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeZone | Yes | IANA time zone name, e.g. Asia/Tokyo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iso | Yes | ||
| local | Yes | ||
| timeZone | Yes |