joiva_update_collection
Extends or edits a collection link by its shareId: appends dishes (add / addNames), removes dishes, renames it, or sets a new validity from now. The URL stays the same and shows the new state at once; someone who already copied the collection only gets the new dishes on the next tap.
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": {
"shareId": "<shareId>"
},
"name": "joiva_update_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Dish ids to append | |
| title | No | ||
| remove | No | ||
| shareId | Yes | Id of the collection link | |
| addNames | No | Alternatively dish names to append | |
| ttlHours | No | New validity in hours from now (up to 8760) |