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.
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": {
"slug": "<slug>"
},
"name": "update_gallery"
}
}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). |