apply_task_pack
Add a task pack from list_task_packs to the household: creates its tasks, repeating tasks and events, dated from the anchor date. The pack's titles are English: when the user is not writing in English, pass their titles (and notes) translated in overrides. Returns how many of each were created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packId | Yes | Pack id from list_task_packs. | |
| itemIds | No | The items to add. Omit to add the items selected by default. | |
| entityId | No | Required for packs with a relatedEntityType (vehicle, appliance or pet packs): the id of one of the pack's entities from list_task_packs. Omit for other packs. | |
| timezone | No | IANA time zone, e.g. Europe/London, used to place timed events and to decide today. Omit to use the user's saved time zone. | |
| overrides | No | Replacement text for added items. When the user is not writing in English, give every added item its title (and notes) translated into their language. | |
| anchorDate | No | YYYY-MM-DD, at most 5 years ahead. Required for a pack with isTargetDatePack true: the target date the items count back from (e.g. moving day or due date); ask the user if they haven't said. Otherwise the date the pack starts; omit to use the linked entity's date from list_task_packs, or today. Items that would fall in the past are moved to today. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| title | No | ||
| message | No | ||
| variant | No |