Create opportunity
ghl_create_opportunityCreate a new opportunity in a pipeline stage. Retrieve pipeline and stage IDs with ghl_get_pipelines, then add deals with contact, value, and status.
Instructions
Create a new opportunity (deal) in a pipeline stage. Use ghl_get_pipelines first to obtain valid pipelineId and pipelineStageId values.
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": {
"pipelineId": "<pipelineId>",
"pipelineStageId": "<pipelineStageId>",
"name": "<name>",
"contactId": "<contactId>"
},
"name": "ghl_create_opportunity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Opportunity name/title. | |
| status | No | Initial status. | open |
| contactId | Yes | Contact this opportunity belongs to. | |
| assignedTo | No | User id to assign. | |
| locationId | No | GHL Location (sub-account) ID. Defaults to GHL_LOCATION_ID. | |
| pipelineId | Yes | Target pipeline id. | |
| monetaryValue | No | Deal value in account currency. | |
| pipelineStageId | Yes | Target stage id within the pipeline. |