Skip to content

feat(beta): add DateTimeHelperTool toolset#4816

Draft
rektdeckard wants to merge 1 commit intomainfrom
tobias/datetime-helper
Draft

feat(beta): add DateTimeHelperTool toolset#4816
rektdeckard wants to merge 1 commit intomainfrom
tobias/datetime-helper

Conversation

@rektdeckard
Copy link
Member

Adds a DateTimeHelperTool toolset which the agent can use to access the current time, adjusted for timezone either statically or provided as an argument by the LLM at call time. It can also compute absolute offsets ("in 3 hours"), and be used effectively by LLMs when a relative date or offset is required (e.g. "next Tuesday at 4pm").

If timezone is not provided, defaults to UTC.

class Assistant(Agent):
    def __init__(self):
        super().__init__(
            instructions="""You are a helpful voice AI assistant.""",
            tools=[
                DateTimeHelperTool(tz="America/Denver"),
            ],
        )

@rektdeckard rektdeckard marked this pull request as draft February 13, 2026 22:15
@chenghao-mou chenghao-mou requested a review from a team February 13, 2026 22:15
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 5 additional findings.

Open in Devin Review

@rektdeckard rektdeckard force-pushed the tobias/datetime-helper branch from e1d2aa4 to 83b4d6a Compare February 13, 2026 22:24
@rektdeckard rektdeckard force-pushed the tobias/datetime-helper branch from 83b4d6a to 1fa756a Compare February 13, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant