Delete a feature rule
delete_feature_ruleDelete a feature rule. Its events stop counting as the feature everywhere, past included, unless a data-track name or another rule of the same name covers them; other features are unaffected. undo_setup_run recreates it exactly, with its original id and creation time. Pass run_id from start_setup_run so this undoes together with the rest of the setup; leave it out (never "") to start a new chat run, whose run_id is returned and should go on every later change.
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": {
"rule_id": "<rule_id>"
},
"name": "delete_feature_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | The setup run this change belongs to, from start_setup_run. Omit to start a new chat run (its id is returned). | |
| project | No | Project ID, from list_projects. Required when this connection covers more than one project; may be left out when it covers one (and with an API key, which belongs to one project). | |
| rule_id | Yes | Feature rule ID, from list_feature_rules. |