# create_list (/docs/mcp/tools/create-list)

{/* Generated by scripts/sync-mcp-tools.mjs from happierleads-api. Do not edit: change src/routes/mcp/toolDocs.json there, or add content/mcp-notes/create_list.mdx. */}

**Create a list** · Changes data

Creates an empty contact or company list on a website and returns it. Add people to it from the dashboard or a campaign.

| Connection | Account URL, team member URL or OAuth |
| --- | --- |

## Parameters [#parameters]

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `websiteId` | `string` | Yes | Website ID from list_websites. |
| `listType` | `"contact" \| "company"` | Yes | contact for lists of people, company for lists of companies. |
| `name` | `string` | Yes | The list's name. |

## Tool definition [#tool-definition]

What your assistant receives from `tools/list`:

```json
{
  "name": "create_list",
  "title": "Create a list",
  "annotations": {
    "title": "Create a list",
    "readOnlyHint": false,
    "destructiveHint": false,
    "idempotentHint": false,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "websiteId": {
        "type": "string",
        "description": "Website ID from list_websites."
      },
      "listType": {
        "type": "string",
        "enum": [
          "contact",
          "company"
        ],
        "description": "contact for lists of people, company for lists of companies."
      },
      "name": {
        "type": "string",
        "description": "The list's name."
      }
    },
    "required": [
      "websiteId",
      "listType",
      "name"
    ]
  }
}
```
