create_alias
Create a new pfSense firewall alias to group IPs, networks, or ports for reuse in firewall rules and NAT, with initial entries and optional descriptions.
Instructions
Create a new firewall alias
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>",
"alias_type": "<alias_type>",
"addresses": "<addresses>"
},
"name": "create_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Alias name (max 31 characters, alphanumeric and underscores) | |
| details | No | Optional per-entry descriptions (same length as addresses) | |
| addresses | Yes | List of initial entries (IPs, networks, or ports depending on type) | |
| alias_type | Yes | Type of alias (host, network, port) | |
| description | No | Optional description of the alias | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||