Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
OpenClaw defaults to host-local time for transport timestamps and user timezone only in the system prompt. Provider timestamps are preserved so tools keep their native semantics (current time is available via
session_statusInbound messages are wrapped with a timestamp (minute precision):
text[Provider ... 2026-01-05 16:26 PST] message text
This envelope timestamp is host-local by default, regardless of the provider timezone.
You can override this behavior:
json5{ agents: { defaults: { envelopeTimezone: "local", // "utc" | "local" | "user" | IANA timezone envelopeTimestamp: "on", // "on" | "off" envelopeElapsed: "on", // "on" | "off" }, }, }
envelopeTimezone: "utc"envelopeTimezone: "local"envelopeTimezone: "user"agents.defaults.userTimezone"America/Chicago"envelopeTimestamp: "off"envelopeElapsed: "off"+2mLocal (default):
text[WhatsApp +1555 2026-01-18 00:19 PST] hello
User timezone:
text[WhatsApp +1555 2026-01-18 00:19 CST] hello
Elapsed time enabled:
text[WhatsApp +1555 +30s 2026-01-18T05:19Z] follow-up
If the user timezone is known, the system prompt includes a dedicated Current Date & Time section with the time zone only (no clock/time format) to keep prompt caching stable:
textTime zone: America/Chicago
When the agent needs the current time, use the
session_statusQueued system events inserted into agent context are prefixed with a timestamp using the same timezone selection as message envelopes (default: host-local).
textSystem: [2026-01-12 12:19:17 PST] Model switched.
json5{ agents: { defaults: { userTimezone: "America/Chicago", timeFormat: "auto", // auto | 12 | 24 }, }, }
userTimezonetimeFormatautoWhen
timeFormat: "auto"Channel tools return provider-native timestamps and add normalized fields for consistency:
timestampMstimestampUtcRaw provider fields are preserved so nothing is lost.
If you need local time, convert it downstream using the known timezone.
© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine