crm_create_association
Link two objects in HubSpot CRM, such as contacts, companies, or deals, by defining their relationship using specific association types and IDs.
Instructions
Create an association between two objects
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": {
"fromObjectType": "<fromObjectType>",
"toObjectType": "<toObjectType>",
"fromObjectId": "<fromObjectId>",
"toObjectId": "<toObjectId>",
"associationTypes": "<associationTypes>"
},
"name": "crm_create_association"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| associationTypes | Yes | ||
| fromObjectId | Yes | ||
| fromObjectType | Yes | ||
| toObjectId | Yes | ||
| toObjectType | Yes |