Tool tree
Strict RFC3339 time API for current time, validation, conversion, timezone lookup, transitions, and human event-time parsing.
Implementation
gradeNot graded
gradeNot graded
get-current-timeAnswer
Return the current time in UTC or in a requested IANA timezone.
View tool JSON
{
"name": "get-current-time",
"kind": "answer",
"impl": "imperative",
"description": "Return the current time in UTC or in a requested IANA timezone.",
"inputSchema": {
"type": "object",
"properties": {
"tz": {
"type": "string",
"description": "Optional IANA timezone such as Europe/Berlin."
},
"precision": {
"type": "integer",
"description": "Optional fractional second precision from 0 to 9.",
"minimum": 0,
"maximum": 9
}
},
"additionalProperties": false
},
"page": "/"
}convert-timestampAction
Convert a timestamp value between supported formats such as RFC3339 and Unix.
View tool JSON
{
"name": "convert-timestamp",
"kind": "act",
"impl": "imperative",
"description": "Convert a timestamp value between supported formats such as RFC3339 and Unix.",
"inputSchema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "Input timestamp value to convert."
},
"in": {
"type": "string",
"description": "Input format identifier such as rfc3339 or unix."
},
"out": {
"type": "string",
"description": "Output format identifier such as rfc3339 or unixms."
}
},
"required": [
"value",
"in",
"out"
],
"additionalProperties": false
},
"page": "/"
}validate-timestampAction
Validate one timestamp string against the site's supported profiles.
View tool JSON
{
"name": "validate-timestamp",
"kind": "act",
"impl": "imperative",
"description": "Validate one timestamp string against the site's supported profiles.",
"inputSchema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "Timestamp string to validate."
},
"profile": {
"type": "string",
"description": "Optional profile such as rfc3339 or iso8601."
},
"mode": {
"type": "string",
"description": "Optional validation mode such as strict or lenient.",
"enum": [
"strict",
"lenient"
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"page": "/"
}convert-human-timeAction
Convert human-written event time text into a concrete timezone-aware instant.
View tool JSON
{
"name": "convert-human-time",
"kind": "act",
"impl": "imperative",
"description": "Convert human-written event time text into a concrete timezone-aware instant.",
"inputSchema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "Human time text such as tomorrow 10am PST."
},
"to": {
"type": "string",
"description": "Target timezone or zone specification."
},
"from": {
"type": "string",
"description": "Optional source IANA timezone for ambiguous inputs."
},
"base": {
"type": "string",
"description": "Optional RFC3339 base instant for DST or relative-date disambiguation."
},
"precision": {
"type": "integer",
"description": "Optional fractional second precision from 0 to 9.",
"minimum": 0,
"maximum": 9
}
},
"required": [
"value",
"to"
],
"additionalProperties": false
},
"page": "/"
}inspect-timezoneAnswer
Resolve a timezone name or Windows alias to the site's canonical IANA timezone.
View tool JSON
{
"name": "inspect-timezone",
"kind": "answer",
"impl": "imperative",
"description": "Resolve a timezone name or Windows alias to the site's canonical IANA timezone.",
"inputSchema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Timezone name or alias to resolve."
}
},
"required": [
"name"
],
"additionalProperties": false
},
"page": "/"
}