delete_user_rule
Deletes a stored preference by key and scope, removing obsolete or unwanted rules. Provide a repo or workspace ID for scoped deletion; global scope needs no ID.
Instructions
Deletes a preference by key and scope. For global scope, scope_id is not needed.
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": {
"key": "<key>",
"scope": "<scope>"
},
"name": "delete_user_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Preference key to delete | |
| scope | Yes | Scope level: 'global', 'workspace', or 'repo' | |
| scope_id | No | Target ID: repo ID or workspace ID. Required for workspace/repo scope. |