Current Date and Time
current_datetimeGet current date and time with optional IANA timezone. Use to compute ages, durations, or timestamp events accurately.
Instructions
Return the current date and time. Use this whenever you need to know "now", compute ages/durations, or timestamp something — never guess the date.
Args:
timezone (string): Optional IANA timezone, e.g. "Europe/Madrid", "America/New_York", "UTC". Defaults to the system timezone.
Returns the ISO timestamp, a human-readable string, and component parts.
Example: { "timezone": "Asia/Tokyo" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | IANA timezone (default: system local) |