convert_time
Convert time between timezones using IANA names or system time, handling 24-hour format inputs for accurate timezone calculations.
Instructions
Convert time between timezones (defaults to system time for source/target)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
source_timezone | Yes | Source timezone. Use 'system' or 'local' for user's local time (Etc/UTC), or IANA names like 'America/New_York', 'UTC'. System time is the most practical default. | |
target_timezone | Yes | Target timezone. Use 'system' or 'local' for user's local time (Etc/UTC), or IANA names like 'Asia/Tokyo', 'UTC'. System time is the most practical default. | |
time | Yes | Time to convert in 24-hour format (HH:MM) |
Input Schema (JSON Schema)
{
"properties": {
"source_timezone": {
"description": "Source timezone. Use 'system' or 'local' for user's local time (Etc/UTC), or IANA names like 'America/New_York', 'UTC'. System time is the most practical default.",
"type": "string"
},
"target_timezone": {
"description": "Target timezone. Use 'system' or 'local' for user's local time (Etc/UTC), or IANA names like 'Asia/Tokyo', 'UTC'. System time is the most practical default.",
"type": "string"
},
"time": {
"description": "Time to convert in 24-hour format (HH:MM)",
"type": "string"
}
},
"required": [
"source_timezone",
"time",
"target_timezone"
],
"type": "object"
}