fermetures
With accountWrites (confirm)Manages the business's holidays and closing days: list them, add a holiday period, delete one, or set the days closed every week. Important for loyalty: closed days don't count in a customer's absence, so properly declared holidays stop regulars from looking "lost" and getting a win-back message when you reopen. Optionally, prevenir_clients=true with a text also prepares a notification to all customers (same rules as envoyer_message: one message per day, preview required). action=lister (default) changes nothing. To add, delete or set the days: confirmer=false returns a preview, confirmer=true saves (and sends the message if requested).
Parameters
Values : lister ajouter supprimer jours_hebdo
Default : "lister"
Values : dimanche lundi mardi mercredi jeudi vendredi samedi
Default : false
Default : false
Response
A text the assistant reads (content), and the same information as structured data (structuredContent). When a call is refused (a parameter to fix, plan, role), the response has isError: true and a sentence the assistant can rephrase.
Warning : this tool writes. Called with confirmer: false (the default), it only returns a preview, without changing anything. The assistant must show it to you and wait for your approval before calling again with confirmer: true.
Updated