update_whatsapp_ai_rules
Update an agent's WhatsApp AI reply rules to control when the AI replies to inbound messages. Send only changed fields; lists are replaced, so read current rules before editing.
Instructions
Change the WhatsApp "AI rules" of a Convocore agent — when the AI should or should not reply to inbound WhatsApp messages. Partial update: send only the fields to change; lists (triggerPhrases, participantList, availability.days) are replaced as a whole, so read them first with get_whatsapp_ai_rules to add or remove one entry. Decision order for each inbound message: availability schedule → participant list → thread ownership → trigger phrases → aiRule. Does NOT change what the agent says (use update_agent / patch_agent_prompt) and does NOT pause a number (use update_whatsapp_number_settings aiPaused). The response carries warnings when the saved combination would keep the AI silent — relay them to the user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | Fields to change. Omitted fields keep their current value. | |
| agentId | Yes |