create_deal
Create a new deal in your CRM by providing an origin ID and optional details like name, phone, email, and custom fields.
Instructions
Create a new deal in the CRM. origin_id is required — use list_origins to find valid origin IDs. fields: custom fields as a JSON object (e.g. {"field_key": "value"}). Call list_fields first to discover available field keys.
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": {
"origin_id": "<origin_id>"
},
"name": "create_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin_id | Yes | ||
| name | No | ||
| phone | No | ||
| No | |||
| username | No | ||
| value | No | ||
| stage_id | No | ||
| user_id | No | ||
| contact_id | No | ||
| fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |