Set menu item availability
biz_set_item_availabilityMarks one item on a business menu as sold out for today, or puts it back on. Needs a personal connector token, business, soldOut, and itemId or itemName. Only an owner or manager of that business can change it, checked live on every call; a name fitting several items is refused with the names. It works in two steps: a call without confirm returns a preview and a confirmToken and changes nothing; a call with confirm true and that token makes the change.
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": {
"business": "<business>",
"soldOut": "<soldOut>"
},
"name": "biz_set_item_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | No | The item id from biz_menu. | |
| confirm | No | Absent on the first call, which changes nothing; true with confirmToken makes the change. | |
| soldOut | Yes | true marks it sold out today; false puts it back. | |
| business | Yes | The business by name or id, as biz_menu returned it. | |
| itemName | No | Or the item name. | |
| requestId | No | Optional caller id, 8 or more characters; a repeat returns the first result. | |
| confirmToken | No | The token the first call returned. |