Update Opportunity
update-opportunity-toolUpdate an existing opportunity (deal) in the CRM. Use the crm-schema resource to discover available custom attributes (custom fields).
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-opportunity-tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The opportunity ID to update. | |
| name | No | The opportunity name. | |
| company_id | No | The associated company ID. | |
| contact_id | No | The associated contact (person) ID. | |
| custom_fields | No | Custom attribute (custom field) values as key-value pairs. IMPORTANT: You MUST first read the crm-schema resource to discover valid field codes for this entity type. Unknown field codes will be rejected. Use exact field codes from the schema (e.g. "job_title", not "jobTitle"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |