toggle_threat_category
Enable or disable a threat intelligence category by source path, staging the change until apply_change is called.
Instructions
Enable or disable a threat intelligence category by its source_path (e.g., "malware/callhome", "illegal/phishing"). Returns a change_id; nothing changes until apply_change.
Args: source_path: The category identifier (from list_threat_categories). enabled: True to enable blocking, False to disable.
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": {
"source_path": "<source_path>",
"enabled": "<enabled>"
},
"name": "toggle_threat_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | ||
| source_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |