Draft how the chat should behave
draft_chat_instructionsWrite a draft of the site chat's "How chat should behave" instructions (its tone, what it should offer, how it should close) from what the site says about the business. Saves NOTHING: show the owner the draft, let them change it, then save it with update_communication_settings (change.channel "widget", change.assistant_brief). Read the current instructions with get_communication_settings first, so you do not replace ones the owner wrote without saying so.
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": "draft_chat_instructions"
}
}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. |