Home / Servers / Brevo API / patch_crm_deals_link_unlink_by_id
Link and Unlink a deal with contacts and companies
An MCP tool from the Brevo API server, hosted on mcp.hjlabs.in.
Link and Unlink a deal with contacts and companies Link or unlink contacts and companies with a specific deal in a single request. You can simultaneously link new contacts/companies and unlink existing ones by providing the respective ID arrays in… [PATCH /crm/deals/link-unlink/{id}]
Name on the gateway: brevo_api__patch_crm_deals_link_unlink_by_id · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
id required | string | id parameter |
linkCompanyIds | array | Company ids to be linked with deal |
linkContactIds | array | Contact ids for contacts to be linked with deal |
unlinkCompanyIds | array | Company ids to be unlinked from deal |
unlinkContactIds | array | Contact ids for contacts to be unlinked from deal |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "brevo_api__patch_crm_deals_link_unlink_by_id",
"arguments": {
"id": "…"
}
}Or connect the Brevo API server directly, which lists 291 tools including this one:
claude mcp add --transport http hj-brevo-api https://mcp.hjlabs.in/mcp/brevo-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the link and unlink a deal with contacts and companies tool with id set to ….