cigchat_flow_set_web_chat_widget_default_start_flow
Set which flow your web chat widget launches first by assigning a specific sub-flow as its default start flow.
Instructions
Set default start flow for web chat widget, use main to set the start flow to main flow [POST /flow/set-web-chat-widget-default-start-flow] Requires the "Manage Flow" scope on the token.
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": {
"sub_flow_ns": "<sub_flow_ns>"
},
"name": "cigchat_flow_set_web_chat_widget_default_start_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sub_flow_ns | Yes | Accepts either the flow namespace id or the flow's exact name — the server resolves names automatically. |