parse_datetime
Parse freeform datetime strings into structured ISO 8601, Unix epoch, and date components with relative time and confidence score, reducing token usage for date parsing.
Instructions
Parse any freeform datetime string ('tomorrow at noon', 'yesterday', '2026-05-13T15:30Z', 'in 2 hours') into a fully structured normalized form: ISO 8601, unix epoch, components (year/month/day/hour/min/sec/weekday), relative seconds + human form, confidence score. Saves agent LLM tokens on date parsing. $0.001 USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Freeform datetime string. | |
| base_time | No | Optional ISO 8601 reference; defaults to now UTC. | |
| timezone | No | Optional IANA tz name (e.g. 'America/New_York'); defaults to UTC. |