cigchat_flow_delete_sub_flow
Delete a sub flow from your cig.chat bot permanently. This destructive action requires a confirmation token: call without it to review impacts, then pass the token to delete.
Instructions
Delete sub flow [DELETE /flow/delete-sub-flow] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. 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_delete_sub_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Confirmation token from this tool's previous "requires_confirmation" response. Call without it first, show the human the impact statement, and only pass the token once they have approved. | |
| sub_flow_ns | Yes | Accepts either the flow namespace id or the flow's exact name — the server resolves names automatically. |