opn_add_firewall_category
Create a firewall category for organizing rules by name and color. It adds metadata only, not affecting traffic or rules.
Instructions
Create a new firewall rule category.
Use this when you need to create a category for organizing firewall rules. Categories are metadata — creating one does not affect traffic or rules.
Parameters:
name: category name (1-255 chars, no commas)
color: hex color code without '#' (e.g. 'ff0000' for red, default '000000')
Returns: dict with 'result' (str), 'uuid' (str), and 'name' (str).
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": {
"name": "<name>"
},
"name": "opn_add_firewall_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | No | 000000 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||