1. get_current_time
Get current time in a specific timezone or system timezone.
Required arguments:
timezone
(string): IANA timezone name (e.g., 'America/New_York', 'Europe/London')
Description: This tool retrieves the current time for a specified timezone using IANA timezone names. If no timezone is specified, it will use the system's default timezone. The response includes the timezone, datetime in ISO format, and daylight saving time status.
Example Usage:
{
"name": "get_current_time",
"arguments": {
"timezone": "Europe/Warsaw"
}
}
Example Response:
{
"timezone": "Europe/Warsaw",
"datetime": "2024-01-01T13:00:00+01:00",
"is_dst": false
}
2. convert_time
Convert time between different timezones.
Required arguments:
source_timezone
(string): Source IANA timezone nametime
(string): Time in 24-hour format (HH:MM)target_timezone
(string): Target IANA timezone name
Description: This tool converts a specific time from one timezone to another. It takes a time in 24-hour format and converts it between two specified IANA timezones. The response includes both source and target timezone information, along with the time difference.