Skip to main content

Module time

Module time 

Source
Expand description

get_current_time tool (#6361): lets the LLM query the real current UTC time on demand.

Large language models have no innate sense of wall-clock time. This executor closes that gap with a near-zero-cost local clock read (no I/O), resolved through an injectable zeph_common::ClockSource rather than calling std::time::SystemTime::now directly, so it stays deterministic in tests (spec 070 FR-002, NFR-001).

Structsยง

GetCurrentTimeExecutor
Tool executor for the get_current_time tool.