Delete a Call Rule
delete_ruleUse this when the user wants one of their screening rules gone for good. ruleId comes from list_rules. Without confirmed:true nothing is deleted: it returns confirmation_required naming the rule; with it the rule is permanently deleted and its ruleId returned. An unknown ruleId returns code not_found. A rule can be switched off and kept with update_rule (isActive false).
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": {
"ruleId": "<ruleId>"
},
"name": "delete_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleId | Yes | A ruleId from list_rules. | |
| confirmed | No | true means the user has approved the confirmation_required preview returned by an earlier call with the same arguments, and carries it out. Without it nothing changes and that preview is returned. |