Switch a Spotlight rule on or off
set_spotlight_rule_enabledTurn a rule on or off without deleting it. Get the id from list_spotlight_rules.
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": {
"id": "<id>",
"enabled": "<enabled>"
},
"name": "set_spotlight_rule_enabled"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The rule, for update, delete, enable and disable. | |
| enabled | Yes | true switches the rule on, false switches it off. |