Current time
shieldlabs_current_timeFetch the current server time in UTC or a specified IANA time zone to assess data freshness, such as checking if an identification's observed_at exceeds a 5-minute window.
Instructions
Return the current time of the machine running this server, in UTC and optionally in one IANA time zone.
Use it to judge freshness: for example whether an identification's observed_at is older than a 5-minute window, or how long ago an account was last seen.
Args:
timezone (string, optional): IANA time zone such as "Europe/Berlin"
response_format ('markdown' | 'json'): default 'markdown'
Returns (json): { "utc": string, "unix_seconds": number, "unix_ms": number, "timezone": string | null, "local_time": string | null, "utc_offset": string | null }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | IANA time zone for an additional local time, for example "Europe/Berlin" or "America/New_York" | |
| response_format | No | Output format: 'markdown' (default) for readable text, 'json' for structured data | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| utc | Yes | Current time, RFC 3339 UTC with milliseconds | |
| unix_ms | Yes | ||
| timezone | Yes | ||
| local_time | Yes | ||
| utc_offset | Yes | ||
| unix_seconds | Yes |