Get current time
get_current_timeGet the current date and time, with optional IANA timezone support to display the time in any global region.
Instructions
Returns the current date and time. Optionally pass an IANA timezone (e.g. 'Asia/Kolkata', 'America/New_York') to get the time there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | IANA timezone name, e.g. 'Asia/Kolkata'. Defaults to the server's local time. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iso | Yes | ISO 8601 timestamp | |
| timezone | Yes | The IANA timezone the result is expressed in | |
| unixSeconds | Yes | Seconds since the Unix epoch |