Update deal
update_dealChange a deal’s fields: status, amounts (cents), payment status, next action, dates, or notes. Send only what changes. To change deliverables, read get_deal first and send the complete list (keep ids of ones to keep; omitted ones are removed) with its deliverablesVersion as expectedDeliverablesVersion. Applies immediately.
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": {
"dealId": "<dealId>",
"changes": "<changes>"
},
"name": "update_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dealId | Yes | Deal id from get_deals. | |
| changes | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Id of the created or changed record, when there is one. | |
| url | Yes | Where the user can see the result in Distinctful. | |
| done | Yes |