add_alias_entry
Adds an entry to a firewall alias, capturing prior entries for reversal. Preview changes with dry_run before applying.
Instructions
[WRITE][risk=medium] Add one entry to an alias; reversible (undo removes it).
Captures the alias' prior entries before the change. Pass dry_run=True to preview.
Args: name: Alias name (from list_aliases). entry: The host/network/port to add. dry_run: If True, preview without changing. target: Firewall target name from config; omit for the default.
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>",
"entry": "<entry>"
},
"name": "add_alias_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| entry | Yes | ||
| target | No | ||
| dry_run | No |