Add products
add_productsUse when the venue owner asks to add new products to their own menu. Put each product in an existing category (category_id from get_my_menu) or in a new one (new_category_name; reused if a category with that name already exists). Keep names and prices exactly as the owner says; never invent descriptions or allergens. Up to 50 products per call. Two steps: call first without confirm to get the preview (nothing is saved), show it to the owner, and only after they agree call again with confirm: true. New texts are translated automatically. Requires the owner to connect their PRENOTO account. Reply in the owner's language.
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": {
"items": "<items>"
},
"name": "add_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| confirm | No | false or omitted: preview only. true: save, only after the owner agreed to the preview. | |
| venue_id | No | Optional. Only needed when the account manages several venues (see list_my_venues). |