Overview

current_time is a built-in gizzi tool. Models do not know what time it is, so they call it when the answer depends on the clock: “today”, “tomorrow at 9”, a deadline, a reminder, a schedule. It takes no required input and changes nothing, so it is allowed in plan mode.

What it returns

An optional time_zone argument asks for a specific zone.

Which zone it uses

The tool picks the first zone that exists:
  1. The time_zone argument.
  2. The time_zone the client sent with this turn.
  3. The last zone any client sent for this session.
  4. The zone of the machine the runtime runs on, labelled as the machine zone, because it may not be where the person is.
The result always names the source.

The environment line

Every turn’s environment block carries a Time zone: line with the zone from step 2 or 3, so a model that never calls the tool still reads dates in the person’s zone. When no client zone is known the line shows the machine zone, labelled.

Every client sends it

time_zone is one of the three client hints described on System prompts. A value that is not a valid IANA zone is ignored.