Make a deal on a company
make_a_deal_on_a_companyOpen a deal on a company with one of its people, as the signed-in person, as «Make a deal» on the company's page does: the deal opens through the one writer of deals on the default pipeline's first stage and names the company. contact_id is one of the company's live people (get_company's people). A company with no people makes no deal. title defaults to «New deal», currency to USD. The deal is a line of the company's history and of the audit trail.
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": {
"company_id": "<company_id>",
"contact_id": "<contact_id>"
},
"name": "make_a_deal_on_a_company"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| amount | No | ||
| currency | No | ||
| company_id | Yes | The company's id (from list_companies) | |
| contact_id | Yes | The person's contact id |