Skip to content
1 min read · 43 words

Variable: getCurrentTimeTool

ts
const getCurrentTimeTool: Tool<SpooledArtifact>;

Return the current time formatted in a given timezone.

Remarks

timezone defaults to UTC when omitted. The ADK has no notion of a "user local" timezone, so callers should pass an IANA zone (America/New_York, Europe/London, ...) for non-UTC formatting.