Delete Segment Tool
delete-segment-toolDelete a segment. Attached brands are untouched but the segment stops appearing on them; a brand whose only segment this was derives back to discovered. The segment is soft-deleted, retained for 30 days, and then permanently removed. A project must keep at least one segment, so deleting the last one returns an error.
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": {
"segment_id": "<segment_id>"
},
"name": "delete-segment-tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segment_id | Yes | The numeric id of the segment to delete. |