productivity_reminder
Create prioritized reminders with due dates to manage tasks and boost productivity. Set priority levels from low to critical and schedule deadlines for better time management.
Instructions
Create a reminder with priority level
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | What to remember | |
| due_date | No | Due date (YYYY-MM-DD or 'today', 'tomorrow') | today |
| priority | No | medium |
Implementation Reference
- src/modules/productivity.ts:81-91 (handler)The tool "productivity_reminder" is defined and implemented directly in the `server.tool` call within `registerProductivityTools`. It uses `zod` for input validation and returns a formatted string response.
server.tool("productivity_reminder", "Create a reminder with priority level", { task: z.string().describe("What to remember"), due_date: z.string().default("today").describe("Due date (YYYY-MM-DD or 'today', 'tomorrow')"), priority: z.enum(["low", "medium", "high", "critical"]).default("medium") }, async ({ task, due_date, priority }) => { const icons: Record<string, string> = { low: "[LOW]", medium: "[MED]", high: "[HIGH]", critical: "[!!!]" }; const resolved = due_date === "today" ? new Date().toISOString().split("T")[0] : due_date === "tomorrow" ? new Date(Date.now() + 86400000).toISOString().split("T")[0] : due_date; return { content: [{ type: "text", text: `**Reminder Set** ${icons[priority]}\n\nTask: ${task}\nDue: ${resolved}\nPriority: ${priority.toUpperCase()}\n\n*Add to your task manager or memory file.*` }] }; });