get_current_time
Retrieve the current date and time in a specified timezone with customizable formats (ISO, local, or full). Resolves timezone-related inaccuracies for precise timekeeping.
Instructions
Get the current date and time in a specific timezone with various formatting options
Input Schema
Name | Required | Description | Default |
---|---|---|---|
format | No | Output format: "iso" for ISO 8601, "local" for MM/DD/YYYY HH:MM:SS, "full" for human-readable | iso |
timezone | Yes | IANA timezone identifier (e.g., "America/New_York", "Europe/London", "Asia/Tokyo") |
Input Schema (JSON Schema)
{
"properties": {
"format": {
"default": "iso",
"description": "Output format: \"iso\" for ISO 8601, \"local\" for MM/DD/YYYY HH:MM:SS, \"full\" for human-readable",
"enum": [
"iso",
"local",
"full"
],
"type": "string"
},
"timezone": {
"description": "IANA timezone identifier (e.g., \"America/New_York\", \"Europe/London\", \"Asia/Tokyo\")",
"type": "string"
}
},
"required": [
"timezone"
],
"type": "object"
}