Update a gallery
update_galleryUpdate a gallery by slug: rename it or replace its full ordered list of items. To add or reorder, fetch the current list, modify it, then send the complete new array.
Instructions
Update a gallery by slug. Pass name to rename, items to replace the full ordered list. Items is a FULL REPLACE — to add or reorder, fetch the current list with get_gallery, mutate, then send the complete new array. Slug is immutable; max 200 items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name. Slug stays the same. | |
| slug | Yes | Gallery slug, e.g. 'home-carousel'. | |
| items | No | Complete new ordered items list (full replace, max 200). |