Delete a pipeline
delete_pipelineDelete a pipeline and its stages. Only allowed when nothing would be lost: it is not the default (make another one the default first), it has no deals, no automation rule moves deals into it, and no website form files deals into it. Each refusal says which of these to resolve. This permanently deletes data and cannot be undone. Without confirm, nothing is deleted and the result shows what would be deleted.
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": {
"pipeline_id": "<pipeline_id>"
},
"name": "delete_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | true performs the deletion. Without it nothing is deleted, and the result is a summary of exactly what would be destroyed. | |
| pipeline_id | Yes | The pipeline to delete, as returned by list_pipeline_stages |