delete_segment
Remove a specific segment from a Mailchimp audience by supplying the list ID and segment ID. Clean up your audience lists by deleting segments that are no longer needed.
Instructions
Delete a segment
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": {
"list_id": "<list_id>",
"segment_id": "<segment_id>"
},
"name": "delete_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | Yes | The audience/list ID | |
| segment_id | Yes | The segment ID to delete |