types.go

 1// SPDX-FileCopyrightText: Amolith <amolith@secluded.site>
 2//
 3// SPDX-License-Identifier: AGPL-3.0-or-later
 4
 5package timestamp
 6
 7// Input is the input for the get_timestamp tool.
 8type Input struct {
 9	// NaturalLanguageDate is a natural language date/time expression to parse
10	// (e.g. "tomorrow at 3pm", "next Monday", "in 2 hours").
11	NaturalLanguageDate string `json:"natural_language_date" jsonschema:"required"`
12}
13
14// Output is the output for the get_timestamp tool.
15type Output struct {
16	Timestamp string `json:"timestamp"` // RFC3339 formatted timestamp
17}