set_pattern_enabled
Toggle a saved pattern on or off to control detection without removing it from the list.
Instructions
Enable or disable a pattern without deleting it.
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": {
"pattern_id": "<pattern_id>",
"enabled": "<enabled>"
},
"name": "set_pattern_enabled"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern_id | Yes | ||
| enabled | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |