date
Return current system time or parse a date string into structured JSON with ISO 8601 timestamps and timezone-aware fields. Use to query the system clock or validate date strings in agent workflows.
Instructions
Return current system time or parse a supplied date string as structured JSON. Read-only, no side effects. Returns JSON with ISO 8601 timestamp and timezone-aware fields. Use to query the system clock or validate date strings in agent workflows. Not for measuring elapsed time — use 'uptime' for system runtime or combine 'date' with arithmetic. See also 'uptime'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | strftime format string. | |
| iso_8601 | No | ISO output precision. | seconds |
| raw | No | Write formatted time without a JSON envelope. | |
| timestamp | No | Unix timestamp to format instead of current time. | |
| utc | No | Use UTC. |