crm_get_pipeline
Retrieve a deal pipeline by its ID, including stages sorted by display order. For when the pipeline ID is already known.
Instructions
Fetch one deal pipeline by id with its stages sorted by display order.
Use this when the pipeline id is already known and only its stages are needed. Use crm_list_pipelines to discover ids.
Read-only. Needs the crm.schemas.deals.read scope. Unlike the pipeline list, this call is not cached and always reaches HubSpot. Raises a not-found error for an unknown id.
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": "crm_get_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pipeline_id | Yes | Deal pipeline id, as returned by crm_list_pipelines. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Pipeline id, the value to pass as a deal's 'pipeline'. | |
| label | Yes | Pipeline name as shown in the HubSpot UI. | |
| stages | No | Stages sorted by display order, first to last. | |
| display_order | Yes | Position of the pipeline in the account. |