todo_add
Create a persistent todo with a unique slug, task prompt, due date, and importance. Prevents duplicate open tasks by rejecting existing slugs while replacing completed ones.
Instructions
Create a todo. Fails with SLUG_EXISTS if an open todo already uses the slug; a done todo with the same slug is replaced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Due date. All-day: "today", "tomorrow", "YYYY-MM-DD". Timed, in the local machine timezone: "HH:MM" (today), "today 14:00", "tomorrow 09:30", "YYYY-MM-DD HH:MM[:SS]" or "YYYY-MM-DDTHH:MM[:SS]". Relative: "+30m", "+2h", "+1d", "+1w". An ISO 8601 datetime with Z or an offset keeps its own zone | |
| slug | Yes | Unique id, lowercase kebab-case, e.g. "fix-auth-timeout" | |
| prompt | Yes | The task, written as an instruction to yourself | |
| importance | No | medium |