Get Datetime
get_datetimeReturn the current UTC date and time as a formatted string and ISO 8601 timestamp, for grounding time-relative reasoning in the actual clock rather than training-data assumptions.
Use when: Use when a task must anchor on the current date or time — computing ages, windows, deadlines, or 'as of today' context. The runtime context block already states the date, so call this only when a specific strftime format or a precise timestamp is needed.
Limitations: UTC only — no timezone conversion. An unsupported strftime format silently falls back to the default format instead of erroring.
Alternatives: calculate, get_block
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | strftime format string for the output | %Y-%m-%d %H:%M:%S UTC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iso8601 | Yes | ||
| datetime | Yes |