Mark an item sold out or back on
set_item_sold_outMark one menu item sold out (guests stop seeing it on the QR menu, the till greys it out) or back on, at one branch or all of them. Confirm the item and branch with the person before calling. Easy to undo by calling again with soldOut false.
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": {
"item": "<item>",
"soldOut": "<soldOut>"
},
"name": "set_item_sold_out"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cafe | No | Which café, by name or slug. Only needed when the person has more than one (see list_my_cafes). | |
| item | Yes | The item's name (or id from search_menu). | |
| branch | No | One branch (location) by name or id. Leave out for the whole business. | |
| soldOut | Yes | true = sold out, false = back on. |