1// SPDX-FileCopyrightText: Amolith <amolith@secluded.site>
2//
3// SPDX-License-Identifier: AGPL-3.0-or-later
4
5package timestamp
6
7// ToolDescription describes the get_timestamp tool for LLMs.
8const ToolDescription = `Parses natural language dates into formatted timestamps for task scheduling.
9Use this tool when creating or updating tasks that include dates or times
10(after using list_areas_and_goals first). Supports relative dates
11(e.g., 'tomorrow', '1 week', 'next friday'), absolute dates
12(e.g., 'january 15', '2024-03-10'), and times
13(e.g., 'at 2pm', 'sunday at 19:00'). Also accepts 'now' for current timestamp.`
14
15// ParamNaturalLanguageDate describes the natural_language_date parameter.
16const ParamNaturalLanguageDate = `Natural language date expression. Examples: 'tomorrow', '1 week',
17'sunday at 19:00', 'january 15 at 2pm', 'next friday', 'now'.
18The tool will parse this into a properly formatted timestamp for use
19with task scheduling.`