get_current_datetime
Retrieve the current date and time in ISO, Unix, human-readable, or custom formats, with optional timezone specification for accurate results.
Instructions
Get the current date and time
Input Schema
Name | Required | Description | Default |
---|---|---|---|
format | No | Output format: 'iso' (ISO 8601), 'unix' (timestamp), 'human' (readable), or a custom format string | iso |
timezone | No | Timezone (e.g., 'UTC', 'America/New_York'). Defaults to system timezone | system |
Input Schema (JSON Schema)
{
"properties": {
"format": {
"default": "iso",
"description": "Output format: 'iso' (ISO 8601), 'unix' (timestamp), 'human' (readable), or a custom format string",
"type": "string"
},
"timezone": {
"default": "system",
"description": "Timezone (e.g., 'UTC', 'America/New_York'). Defaults to system timezone",
"type": "string"
}
},
"type": "object"
}