create_pipeline
Create a new sales pipeline. Use when asked to create, add, or set up a new pipeline. Requires a name; description, template_id, and stages are optional. A default view is seeded automatically. When stages is provided, it REPLACES the template's default stages so the new pipeline starts with EXACTLY those stages in array order - prefer this on CRM migrations (Pipedrive, HubSpot, etc.) to avoid having to follow up with bulk_delete_stages + bulk_upsert_stages to clean up template defaults. Each stage may carry a description (what belongs in the stage, when to move a deal on), so set them here instead of a follow-up bulk_upsert_stages. When stages is omitted, the template's default stage set is used (prior behavior).
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": {
"name": "<name>"
},
"name": "create_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the new pipeline | |
| stages | No | Optional explicit stage list. When provided, REPLACES the template's default stages (stage_order is derived from array order). Use this on CRM migrations (Pipedrive, HubSpot, etc.) so the new pipeline's stages exactly match the source - otherwise the agent has to create_pipeline + bulk_delete_stages + bulk_upsert_stages to remove unwanted template defaults. Omit to keep the prior template-based behavior. | |
| session_id | No | The ID of the task this call belongs to. Leave it out on your first call. On every later call for the same task, send the ID an earlier result gave you, and pass it to any subagent working on that task. | |
| description | No | Optional description for the pipeline | |
| template_id | No | Optional pipeline template ID to seed default stages and attributes. When `stages` is provided, the template's stages are ignored - template_id only affects the default attribute set in that case. |