HappierleadsDocs
MCP server

remove_list_items

Removes contacts or companies from a list; they stay in the account.

Remove items from a list · Deletes or overwrites data

Removes contacts or companies from a list; they stay in the account. Confirm with the user before calling.

ConnectionAccount URL, team member URL or OAuth

Parameters

ParameterTypeRequiredDescription
websiteIdstringYesWebsite ID from list_websites.
listType"contact" | "company"Yescontact for lists of people, company for lists of companies.
listIdstringYes_id from list_lists.
itemIdsstring[]YesIds of the contacts or companies to remove, from get_list.

Tool definition

What your assistant receives from tools/list:

{
  "name": "remove_list_items",
  "title": "Remove items from a list",
  "annotations": {
    "title": "Remove items from a list",
    "readOnlyHint": false,
    "destructiveHint": true,
    "idempotentHint": true,
    "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."
      },
      "listId": {
        "type": "string",
        "description": "_id from list_lists."
      },
      "itemIds": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Ids of the contacts or companies to remove, from get_list."
      }
    },
    "required": [
      "websiteId",
      "listType",
      "listId",
      "itemIds"
    ]
  }
}

On this page