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

NameTypeDescription
id requiredstringid parameter
linkCompanyIdsarrayCompany ids to be linked with deal
linkContactIdsarrayContact ids for contacts to be linked with deal
unlinkCompanyIdsarrayCompany ids to be unlinked from deal
unlinkContactIdsarrayContact 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:

call_tool arguments
{
  "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:

Run in your terminal
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 ….

More from Brevo API