opnsense_find_alias_references
Find where an OPNsense alias is referenced to know what breaks before deleting or modifying it. Identifies referencing rules and aliases via API or fallback scan.
Instructions
Find where an alias is referenced, so you know what would break if it changed.
Tries the firewall's own reference lookup first. If that endpoint is unavailable on this release, falls back to scanning filter rules for the alias name and says so in the output, since that fallback covers filter rules only and not NAT rules or other aliases that nest this one.
Args: params (AliasReferencesInput): Validated input containing: - name (str): Alias name - response_format (ResponseFormat): 'markdown' or 'json'
Returns: str: Markdown list of referencing objects, or JSON with this schema: {"alias": str, "source": "api"|"rule_scan", "references": [...]}
Examples: - Use when: "Is this alias still used?" before deleting it - Use when: "What breaks if I empty this list?"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |