Rename a pipeline or change its stages
crm_update_pipelineRename a pipeline (new_name) and/or replace its stages with the FULL list in the new order (stages). Stages whose names are still in the list keep their deals. To RENAME a stage without losing its deals write "Old name => New name" in the list. A stage left out is removed and its open deals move to the first stage — tell the person which deals will move before calling. Get the current stages from crm_pipelines first.
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": "<pipeline>"
},
"name": "crm_update_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stages | No | The complete stage list, first to last. "Old => New" renames. | |
| new_name | No | ||
| pipeline | Yes | Pipeline name or id. |