Save a pipeline and its stages
save_a_pipelineSave a pipeline as its editor does: its name, whether it is the default, and its whole stage list in order — each stage with its id to keep (renamed or moved), without an id to add, and a stage left out is removed. Each stage is open, won or lost. An open stage carries meaning, what the column means in the company's words: a new open stage is refused without it, and a stage kept keeps its own when meaning is left out. Won and lost carry none. A stage that still holds an open deal is not removed.
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": "<name>",
"stages": "<stages>"
},
"name": "save_a_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| stages | Yes | ||
| is_default | No | ||
| pipeline_id | Yes | The pipeline's id (from list_pipelines) |