Update an item
update_itemModify an existing inventory item’s fields—such as name, brand, category, notes, location, tags, or links—while leaving omitted fields unchanged. Use it to correct or enrich item records.
Instructions
Changes some of an item's fields — name, brand, value, category, notes, the box it's in… — after the person has said what to change (or confirmed suggestions from get_item). Fields left out stay as they are; send null to clear one. tags and links replace the whole list (send the old ones you want to keep). To move it, set locationId (from list_locations; null: nowhere in particular) — moving a box takes what's inside along, and moving something that was in a box takes it out of the box; to put it into a box, containerItemId. For using some up or restocking use adjust_stock, which logs the change; for a counter reading use record_reading. Returns the updated item.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "update_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The item's id, from search_inventory or list_items | |
| card | No | A trading card: which one in its game's catalog (Pokémon: TCGdex id like sv01-025; Magic: Scryfall id) and the finish owned | |
| heir | No | Who should have it one day | |
| name | No | What it is, the way people would look for it: "Cordless drill" | |
| tags | No | Tag names; new ones are created. When updating, the full new list | |
| brand | No | Who made it | |
| links | No | Web links: the maker's page, the manual online… When updating, the full new list | |
| model | No | Model name or number, as on its label | |
| notes | No | Anything else worth keeping: where the spare key is, quirks, settings | |
| graded | No | A graded coin or card: who graded it (pcgs or psa) and the certificate number on its slab | |
| wanted | No | On the want list: not owned yet — left out of totals, the report, stock and search unless asked for | |
| barcode | No | Its UPC/EAN barcode (also learned into the household's barcode book) | |
| favorite | No | Starred, to find quickly in the app | |
| quantity | No | How many there are; to count stock up or down, adjust_stock logs the change | |
| returnBy | No | The last day the store takes it back, yyyy-mm-dd — what_needs_attention says so the week before | |
| condition | No | What shape it's in | |
| usageUnit | No | What its counter measures, for maintenance by use (a car's miles, a mower's hours) | |
| categoryId | No | A category id from list_categories | |
| disposedOn | No | When it went, yyyy-mm-dd | |
| disposedTo | No | Who it went to: the charity or organisation for a donation | |
| locationId | No | Where it's kept: a location id from list_locations (null: nowhere in particular) | |
| templateId | No | The item template it's made from (list_categories), whose fields it then has | |
| valueCents | No | What one is worth now, in cents — used for the insurance report | |
| collectible | No | A LEGO set (Rebrickable set number like 75192-1), coin (Numista type id, with its issue id and grade), comic (Comic Vine issue id) film or show (TMDB, movie-603 or tv-1396, with the format and a show's season) video game (IGDB id, with the platform as format) record (Discogs release id, with its condition) or book (Open Library work id, e.g. OL27482W) — which one in its collector catalog | |
| description | No | A longer description: colour, size, what it's for | |
| disposition | No | No longer had: sold, given (away), donated (to a charity), discarded, lost or stolen (null: still have it). Gone items leave lists and totals | |
| isContainer | No | A box, bin or case that holds other items (they set containerItemId to it) | |
| minQuantity | No | Keep at least this many: at or below it, it goes on the shopping list | |
| collectionId | No | The collection it's part of (list_collections) | |
| customFields | No | Values for its category's or template's extra fields, by their keys (list_categories shows them) | |
| disposalNote | No | Who it went to, or what happened (for a lost or stolen claim) | |
| partOfItemId | No | The thing this is a part or supply for (an item id): bags for a dust collector, filters for a furnace — listed on that thing's page under Parts & supplies. Put the part number in model | |
| purchaseDate | No | When it was bought, yyyy-mm-dd | |
| replacedById | No | What replaced it, once it's gone: the new item's id — both pages link the other | |
| serialNumber | No | Its serial number, for warranty claims and insurance | |
| disposalCents | No | What it sold for, what insurance paid, or (donated) what it was worth when given, in cents | |
| lifespanYears | No | How many years this one should last, if not its category's or the typical lifespan — for the replacement forecast | |
| containerItemId | No | The box it's in: an item id with isContainer; it's then wherever the box is | |
| replacementCents | No | What it would cost to replace today, in cents (for the insurance report) | |
| purchasePriceCents | No | What was paid for one, in cents (12999 = $129.99) |