delete_intent
Permanently remove an intent and its example sentences from a Cognigy flow. Validate changes with dryRun before applying.
Instructions
Deletes an intent from a Cognigy.AI flow. MUTATING & DESTRUCTIVE: This permanently removes the intent and its example sentences. Use dryRun=true (default) to validate first. After deleting, call train_intents to retrain.
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": {
"flowId": "<flowId>",
"intentId": "<intentId>"
},
"name": "delete_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true (default), validates without deleting. Set to false to actually delete. WARNING: Deletion cannot be undone. | |
| flowId | Yes | The flow ID containing the intent | |
| intentId | Yes | The ID of the intent to delete |