time-tool
Convert natural language time descriptions (e.g., '2pm today') into precise time values. Optionally specify a timezone for accurate results.
Instructions
This tool is capable of returning the time from a natural language query. If the user asks about the 'current time' use this tool. Try to kee time_description as close to the users initial query as possible. For example if someone says 'was X person seen today?' then time_description should be 'today'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time_description | Yes | A natural language description of the time (e.g., '2pm today', 'tomorrow at noon'). | |
| timezone | Yes | Optional IANA timezone string (e.g., 'America/Los_Angeles', 'UTC'). Will default to system timezone if not provided. |