Update an item in a collection
update_collection_itemChange ONE existing item — a post's body, a product's price, a dish's name — or publish/unpublish it. Name it by item_id, or by collection_type plus its slug or exact title in item. Only the fields you send change, and there is no restore snapshot in this tool. seo sets the item page's title, meta description, keywords, canonical and JSON-LD structured_data, merged over its existing SEO. Publishing a visible item sends the change to the public site by collection auto-publish; drafting hides it, so confirm public visibility changes before calling. Never creates an item; for photos use set_item_photos. Blog posts show up to three related posts, picked automatically: to choose them send fields {"related_mode":"manual","related_ids":[item ids]}, to hide them on that post {"related_mode":"off"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seo | No | SEO changes, MERGED over what the item already has: only the keys you send change, null removes one (structured_data: null goes back to the generated schema). Same keys as on add_collection_item: title, description, keywords, og_image_url, canonical_url, no_index, no_follow, structured_data. | |
| item | No | The item's slug, or its exact current title. A title shared by several items is refused with their slugs. | |
| title | No | A new title. | |
| fields | No | Only the fields to change; every other field on the item is kept. | |
| status | No | "published" makes it live, "draft" hides it. | |
| item_id | No | The item's id (from list_collection_items). Preferred. | |
| site_id | Yes | The site the collection belongs to | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| collection_type | No | The collection, when naming the item by `item` instead of `item_id`. |