Add task
hortusfox_add_taskCreates a task with optional due date, recurrence, and plant association. Returns the new task ID.
Instructions
Create a task. Supports an optional due date, recurrence, and association with a plant. Returns the new task ID. Endpoint: /api/tasks/add.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plant | No | Optional plant ID to associate the task with. | |
| title | Yes | Task title. | |
| due_date | No | Optional due date (e.g. YYYY-MM-DD). | |
| description | No | Optional task description. | |
| recurring_time | No | Recurrence interval count. Requires a due_date to take effect. | |
| recurring_scope | No | Recurrence scope/unit (e.g. day, week, month) as accepted by HortusFox. |