delete_flag_definition
Remove a feature flag definition from an environment, removing all targeting rules while keeping the flag intact.
Instructions
Remove a feature flag definition from an environment — the flag itself remains, but loses its targeting rules in that environment
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>",
"flag_name": "<flag_name>"
},
"name": "delete_flag_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to execute the deletion | |
| flag_name | Yes | The feature flag name | |
| workspace_id | Yes | The workspace ID | |
| environment_id | Yes | The environment ID or name |