Update Opportunity
update_opportunityUpdate an existing deal's title, value, probability, close date, contact, custom fields, or research dossier by ID; omitted fields keep their current values, and the deal stage stays unchanged.
Instructions
Change a deal you hold: its title, value, probability, close date, primary contact, custom fields or research dossier.
Call it to correct or add to a deal once you have its id. Only the arguments you pass
change; one you omit keeps its value, and a core field cannot be cleared here. It never
changes the stage: move_opportunity does, with its side effects. To create a deal use
create_opportunity.
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": {
"opportunity_id": "<opportunity_id>"
},
"name": "update_opportunity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | What the deal is. Omit to keep it. | |
| value | No | The deal's size, in its currency. Omit to keep it. | |
| fields | No | Custom field values by key. A key given replaces that key's value; null (or "" for a text field) removes it; keys not given are kept. To keep the reason with a value, pass {"value": ..., "why": "..."}. Keys must be defined (list_fields). | |
| source | No | Where the deal came from (open text). Omit to keep it. | |
| dossier | No | Replace the research dossier with this markdown; "" clears it. The dossier is for what is read, not filtered: anything you would filter or sort on is a field. | |
| currency | No | An ISO 4217 code, e.g. "USD". Omit to keep it. | |
| fields_by | No | Who is setting these fields, when the values do not say. | |
| close_date | No | The target or actual close date (ISO-8601 date). | |
| probability | No | The deal's own win probability, 0-100, kept until its next stage move. | |
| dossier_append | No | Add this markdown after the current dossier, with a blank line between; a concurrent writer's addition is kept. Refused when the dossier would pass its maximum length. Not with dossier. | |
| opportunity_id | Yes | The deal to change. | |
| primary_contact_id | No | The deal's main contact. Omit to keep them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||