opn_scan_config
Scan the OPNsense configuration to build a cached inventory of firmware, plugins, DHCP, DNS, interfaces, services, and config sections. Use first in a session to get a queryable snapshot, or force a rescan after manual changes.
Instructions
Scan the OPNsense configuration and build a cached inventory.
Use this FIRST when starting a new session. Downloads the full config, parses it into queryable sections, and detects runtime state (services, DHCP backend, DNS servers). Results are cached for the session — subsequent calls return the cached version unless force=True.
Call with force=True to rescan after manual config changes on the firewall. Use opn_get_config_section(section) to drill into specific sections.
Returns: dict with 'firmware', 'plugins', 'dhcp', 'dns', 'interfaces', 'services', and 'config_sections' (list of available sections with sizes).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "opn_scan_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||