Add a maintenance task
add_maintenanceSchedule recurring or one-off upkeep for an item, location, or household, including time intervals, usage-based triggers, due dates, parts, providers, and notes.
Instructions
Adds upkeep to track: on an item (itemId), a place (locationId) or the whole household. Give intervalCount + intervalUnit for something that repeats ("every 3 months"), or neither for a one-off. dueOn defaults to one interval from today (today for a one-off). By use ("every 5,000 miles"): usageEvery, on an item that counts something — set the item's usageUnit (update_item) and log a reading (record_reading) first; it can have a time interval too (whichever comes first). Check list_maintenance first so you don't add it twice. Due tasks show in what_needs_attention and the household's reminders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dueOn | No | When it's next due, yyyy-mm-dd; defaults to one interval from today (today for a one-off) | |
| notes | No | How to do it: the part number, steps, what to watch for | |
| title | Yes | What to do: "Replace furnace filter", "Clean gutters" | |
| itemId | No | The item it's for (search_inventory); leave out for a place or the whole household | |
| locationId | No | The place it's for, e.g. "Clean gutters" on the roof (list_locations) | |
| partItemId | No | The consumable it uses (a filter item): marking it done takes partQuantity out of stock | |
| providerId | No | Who usually does it, from list_providers | |
| usageEvery | No | Also (or only) due every this much use, in the item's usageUnit ("every 5,000 miles": 5000). Needs itemId | |
| attachmentId | No | The manual it came from: a document's id from get_item | |
| intervalUnit | No | The unit of intervalCount | |
| partQuantity | No | How many of the part each time (default 1) | |
| intervalCount | No | Repeats every this many intervalUnits ("every 3 months": 3); leave both out for a one-off |