Update a deal
update_dealChange fields of a deal, such as title, value or expected close date. Send only the fields to change. It does not change the stage.
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": {
"id": "<id>"
},
"name": "update_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id of the deal. | |
| title | No | Deal title. | |
| value | No | Deal value in major units of the workspace currency, such as 18400.5. | |
| custom | No | Custom field values as an object of custom field id to value. | |
| companyId | No | The id of the company the deal is with. | |
| productId | No | The id of the product the deal is about. | |
| valueType | No | one_time, or monthly (a monthly value counts 12 times in totals). | |
| ownerUserId | No | The id of the user who owns the deal. Default: the signed-in user. | |
| leadSourceId | No | The id of the lead source. | |
| productPlanId | No | The id of a plan of that product. Without a value, the deal takes the plan's price. | |
| primaryContactId | No | The id of the deal's first contact. | |
| expectedCloseDate | No | Expected close date as YYYY-MM-DD. |