Read how the chat is guided
get_chat_playbookTo change situations use get_chat_situations then update_chat_situations; to change moves and details use set_chat_moves and set_chat_details_to_collect. What guides a site's chat: its situations (when each applies and what to do), the types of person, what to do when nothing fits, the chat's moves (answer, save a lead, hand to the full assistant, each function open to the chat, bookings and lookups the site has) with whether each is on and its "when to use it", and the details it collects. chat.decision_step says whether the moves apply now: live whenever the site has a move only the decision step makes (a function open to the chat, details to collect, a coupon), otherwise not_needed (the assistant answers every message, with no extra decision call). There is no switch. Read this before changing any of it, and pass its version back as expected_version.
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": "get_chat_playbook"
}
}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. |