Pipeline Write Tool
pipeline-writeCreate or update pipeline structure. Creation requires type, name and stages. Updating stages edits supplied IDs and adds entries without IDs; omitted stages are preserved, not deleted. Cards are managed through pipeline-item-write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Pipeline name. Required for "create", optional for "update". | |
| type | No | Pipeline type: "sales" or "production". Required for "create". | |
| action | Yes | Action to perform. | |
| stages | No | Pipeline stages. Required for "create" (min 1). For "update": listed stages are edited (with id) or added (without id). | |
| is_default | No | Whether this is the default pipeline for its type. Optional. | |
| visibility | No | Who can see the pipeline: "all_staff" (default), "specific_staff" (see visible_user_ids), or "specific_roles" (see visible_role_ids). | |
| pipeline_id | No | Pipeline id. Required when updating an existing record. | |
| visible_role_ids | No | Role IDs that can see the pipeline. Only used when visibility is "specific_roles". | |
| visible_user_ids | No | Staff user IDs that can see the pipeline. Only used when visibility is "specific_staff". |