hubspot_associations_list
List all associated records of a given type for a specific HubSpot object. Use the after parameter to paginate through additional pages.
Instructions
List all associated records of a given type for a specific HubSpot object (v4 API). For example, retrieve all contacts associated with a deal, or all deals linked to a call. Returns { results, total, pagination: { nextCursor } | null }. Use pagination.nextCursor as the "after" parameter to fetch subsequent pages.
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": {
"fromType": "<fromType>",
"fromId": "<fromId>",
"toType": "<toType>"
},
"name": "hubspot_associations_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Pagination cursor from a previous response paging.next.after | |
| limit | No | Maximum number of associations to return per page (1-500, default 100) | |
| fromId | Yes | HubSpot ID of the source record | |
| toType | Yes | Object type of associated records to retrieve (e.g., "companies", "tickets", "deals") | |
| fromType | Yes | Object type of the source record (e.g., "contacts", "deals", "calls") |