delete_rule_based_segment
Delete a rule-based segment from a workspace by providing its name and workspace ID, with a confirmation flag to execute.
Instructions
Permanently delete a rule-based segment from a workspace — environment-level configs must be removed separately
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": {
"workspace_id": "<workspace_id>",
"segment_name": "<segment_name>"
},
"name": "delete_rule_based_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to execute the deletion | |
| segment_name | Yes | The segment name | |
| workspace_id | Yes | The workspace ID |