# HubSpot list associations

`hubspot__list_associations`

## Access

Requires a project integration connection for `hubspot`.

**Call type:** Can read or manage credentials.

## Arguments

| Field          | Type     | Required | Description and constraints                                   |
| -------------- | -------- | -------- | ------------------------------------------------------------- |
| `objectType`   | `string` | Yes      | Source CRM object type, such as contacts, companies, or leads |
| `objectId`     | `string` | Yes      | Source CRM record ID                                          |
| `toObjectType` | `string` | Yes      | Associated CRM object type to list                            |
| `after`        | `string` | No       | Pagination cursor from the previous page                      |
| `limit`        | `number` | No       | Maximum associations to return                                |

## Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See [MCP client setup](/docs/cloud/getting-started/connect-mcp.md).

```json title="request.json"
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "hubspot__list_associations",
    "arguments": {
      "objectType": "example",
      "objectId": "example",
      "toObjectType": "example"
    }
  }
}
```

## Result

No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and `isError`; do not assume a fixed object shape. See the [hubspot integration reference](/docs/cloud/apis/integrations.md) for provider setup and tool context.

## Full schemas

```json title="input-schema.json"
{
  "type": "object",
  "properties": {
    "objectType": {
      "type": "string",
      "description": "Source CRM object type, such as contacts, companies, or leads"
    },
    "objectId": {
      "type": "string",
      "description": "Source CRM record ID"
    },
    "toObjectType": {
      "type": "string",
      "description": "Associated CRM object type to list"
    },
    "after": {
      "type": "string",
      "description": "Pagination cursor from the previous page"
    },
    "limit": {
      "type": "number",
      "description": "Maximum associations to return"
    }
  },
  "required": [
    "objectType",
    "objectId",
    "toObjectType"
  ],
  "description": "Arguments for the hubspot__list_associations tool."
}
```
