create-deal
Creates a sales deal in a specified pipeline with required title and pipeline ID, and optional stage, value, owner, person, organization, expected close date, and lost reason.
Instructions
Create a sales deal (POST /api/public/sales/deals). pipelineId is required. Scope: sales:write.
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": {
"title": "<title>",
"pipelineId": "<pipelineId>"
},
"name": "create-deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Deal title. | |
| value | No | Deal value. | |
| stageId | No | ||
| personId | No | ||
| lostReason | No | ||
| pipelineId | Yes | Pipeline id. | |
| ownerUserId | No | ||
| organizationId | No | ||
| expectedCloseDate | No | ISO date YYYY-MM-DD. |