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.
| Connection | Account URL, team member URL or OAuth |
|---|
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. |
listId | string | Yes | _id from list_lists. |
itemIds | string[] | Yes | Ids 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"
]
}
}