disable_rule_based_segment_definition
Disable a rule-based segment from an environment, removing its rules while preserving workspace metadata. Cleanly remove segment definitions.
Instructions
Disable (remove) a rule-based segment from a specific environment — workspace-level metadata is preserved
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>",
"environment_id": "<environment_id>",
"segment_name": "<segment_name>"
},
"name": "disable_rule_based_segment_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to execute the disable | |
| segment_name | Yes | The segment name | |
| workspace_id | Yes | The workspace ID | |
| environment_id | Yes | The environment ID or name |