Change a deal
update_dealChange a deal's title, value and currency, owner, expected close date, notes or contact. Not its stage: use move_deal. Pass the version you read; if someone changed the deal since, it answers conflict and you read it again.
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": {
"site_id": "<site_id>",
"deal_id": "<deal_id>",
"expected_version": "<expected_version>"
},
"name": "update_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| title | No | ||
| deal_id | Yes | Deal id, from list_deals | |
| site_id | Yes | The site, from list_sites | |
| currency | No | ||
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| contact_id | No | ||
| value_minor | No | ||
| owner_user_id | No | ||
| expected_version | Yes | The deal's version from list_deals / get_deal | |
| expected_close_on | No |