capsule_update_opportunity
Update an existing Capsule CRM opportunity by changing its value, stage, owner, probability, close date, or custom fields.
Instructions
Update an existing 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": {
"opportunityId": "<opportunityId>"
},
"name": "capsule_update_opportunity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the opportunity | |
| tags | No | Tags (include ID to update existing, omit ID to add new) | |
| value | No | The value of the opportunity | |
| teamId | No | ID of the team this opportunity should be assigned to | |
| ownerId | No | ID of the user who should own this opportunity | |
| partyId | No | ID of the main contact (party) for this opportunity | |
| duration | No | Duration of the opportunity (must be null if durationBasis is FIXED) | |
| description | No | Description of the opportunity | |
| milestoneId | No | ID of the milestone/stage for this opportunity | |
| probability | No | Probability of winning (0-100) | |
| customFields | No | Custom fields (include ID to update existing, omit ID to add new) | |
| lostReasonId | No | ID of the lost reason (if the opportunity is lost) | |
| durationBasis | No | Time unit used by the duration field | |
| opportunityId | Yes | The ID of the opportunity to update | |
| expectedCloseOn | No | Expected close date (YYYY-MM-DD) |