Resolve a natural-language date
resolve_dateTurn one date/time phrase ("next Friday at 3pm", "in 2 weeks", "tomorrow 9am EST", "Dec 25 to Jan 2") into exact ISO 8601 UTC and local timestamps in an IANA zone, with precision, which parts were stated, DST gap/fold flags and ambiguity flags. found:false when no date is recognized. Use before acting on any date a user typed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "resolve_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The phrase (max 512 bytes). | |
| locale | No | Language of the text. en reads 03/04 as March 4; en-GB as 3 April. Default en. | |
| timezone | No | IANA time zone for reading and reporting local times, e.g. "America/Denver". Default UTC. | |
| reference | No | ISO 8601 date or date-time that relative phrases are resolved against (e.g. "2026-11-11T09:00:00-07:00"). Default: current server time. | |
| forward_date | No | Always pick the future reading of phrases like "Friday" or "October 5". Default false (closest reading). |