delete_flow
Permanently deletes a Directus flow and all its operations after confirmation, stopping dependent webhooks, schedules, triggers, and removing run history. Use it to remove flows you do not need.
Instructions
Deletes a flow and all of its operations, permanently. Requires confirm: true. Whatever depended on the flow stops working, including a webhook URL that pointed at it, its schedule and any flow that triggered it, and the run history goes with it. Use update_flow with status inactive to switch a flow off and keep it. Not reversible.
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": {
"id": "<id>"
},
"name": "delete_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Flow ID | |
| confirm | No | Confirm deletion |