Change the chat's quick replies and flows
update_chat_flowsSet the chat's quick-reply buttons and step-by-step flows. Either send flow_config, the WHOLE set (read get_chat_flows, edit it, send it back; null removes every button and flow), or generate_from_site: true to have them drafted from the site's content and saved, as the screen's Auto-generate does (replaces what is there). Keep 4-6 buttons. Every button that starts a flow must name a flow in flows. Visitors see the change in their next chat; no publish is needed. Confirm with the owner before replacing buttons they made.
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": {
"site_id": "<site_id>"
},
"name": "update_chat_flows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site, from list_sites | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| flow_config | No | The whole set of buttons and flows, or null to remove them all. | |
| generate_from_site | No | Draft the buttons and flows from the site instead, and save them. |