Delete a saved segment
delete_segmentDelete a saved segment by id or name. Needs confirm: true; without it the tool only shows what it would delete. Visit data stays.
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": "<segment>"
},
"name": "delete_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site domain (example.com), id or public id (tb_…). Optional with a site key, or when the account has one site. | |
| confirm | No | Set to true to really do it. Without it, the tool only describes what it would do. | |
| segment | Yes | Segment id or name (from list_segments). |