convert_item
Change any task, chore, habit, or event to a different type. Specify the target kind and optional details like due date or recurrence.
Instructions
Convert an item to a different kind (Task / Chore / Habit / Event).
item_id accepts any reference form — UUID, sequence shorthand
(#123, personal-org only), canonical ref (acme-123), or app URL
— and is resolved to a UUID before the conversion.
to is one of "task", "chore", "habit", "event" --
this is the backend wire field name (ConvertItemPayload.to).
complete_by (RFC3339) is required when to is Event/Chore/Habit;
recurrence is required when to is Habit/Chore (and optional for
Event); end_time is Event-only. Returns the updated item view --
the backend uses 201 on a real conversion, 200 when to equals the
current kind (idempotent).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| to | Yes | ||
| complete_by | No | ||
| end_time | No | ||
| recurrence | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |