node804-panos-mcp
v0.2.0Token-efficient MCP server for Palo Alto Networks PAN-OS firewalls and Panorama
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
server_status
Report the panos-mcp server's current posture. Returns the active RBAC mode, capability flags, tool counts, TLS verification state, audit destination, and the configured firewall registry. Useful for confirming deployment configuration without reading server logs.
list_firewalls
List firewall targets: configured entries plus (when enabled) the live Panorama-managed fleet reachable by serial redirect. Returns the registry contents (no API keys ever). The ``firewall_param_required`` flag indicates whether the caller must pass a ``firewall`` argument to other tools — true when multiple targets are configured (no default to pick safely), false when a single target makes the choice unambiguous. When ``PANOS_ALLOW_SERIAL_CONNECTION`` is enabled and a Panorama is reachable, ``managed_devices`` lists every device Panorama manages; pass one's ``name`` (hostname) or ``seria…
get_firewall_info
Hostname, model, serial, software version, uptime. Default response includes the fields most operators care about. Set verbose=true for licensing, signatures, and platform details.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_ha_status
High-availability state and peer information.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_active_sessions
Active session count and summary statistics. This is a per-firewall command. When the resolved target is a Panorama appliance, pass the ``firewall`` parameter to specify which managed device to query.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_system_resources
CPU, memory, and disk utilization. ``show system resources`` returns raw ``top`` text. This tool parses it into structured fields so the shaping pipeline can filter them normally.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
test_security_policy_match
Which security rule a flow matches — the live ``test security-policy-match``. Read-only: PAN-OS evaluates the flow against the *running* policy and returns the matching rule(s) without changing any state. This is the fastest answer to "is traffic from X to Y allowed, and by which rule?". ``protocol`` and ``destination_port`` are required by PAN-OS (integers only — no 'any'). ``application``, ``source_user``, and the zones are optional refinements. Returns the matched rule under ``matched`` with the query echoed back.
| Parameter | Type | Description |
|---|---|---|
destination * | string | |
source * | string | |
application | ||
destination_port | integer | TCP/UDP port number (0-65535). |
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
from_zone | ||
protocol | integer | IP protocol number (6=TCP, 17=UDP, 1=ICMP). PAN-OS requires this. |
source_user | ||
to_zone | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
test_nat_policy_match
Which NAT rule a flow matches and how it's translated — ``test nat-policy-match``. Read-only. Returns the matching NAT rule plus the translated source/destination/port so you can confirm a flow is (or isn't) being translated the way you expect.
| Parameter | Type | Description |
|---|---|---|
destination * | string | |
source * | string | |
destination_port | integer | TCP/UDP port number (0-65535). |
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
from_zone | ||
protocol | integer | IP protocol number (6=TCP, 17=UDP, 1=ICMP). PAN-OS requires this. |
to_zone | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
test_routing_fib_lookup
Egress interface / next-hop for a destination — ``test routing fib-lookup``. Read-only FIB lookup against the named virtual router. Answers "where does traffic to this destination go?" without touching state.
| Parameter | Type | Description |
|---|---|---|
ip * | string | |
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
virtual_router | string |
get_sessions
Live session table, filtered — ``show session all filter ...``. Pass any combination of ``source`` / ``destination`` (single IPs), ``destination_port``, ``protocol``, ``application`` to narrow the result. With no filter the firewall returns its full session list (bounded by pagination). The lean view includes the NAT-translation fields (``xsource``, ``xdst``, ``xdport``, ``nat``) so you can see both the original and translated tuple in one place.
| Parameter | Type | Description |
|---|---|---|
application | ||
destination | ||
destination_port | ||
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
protocol | ||
source | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_session_detail
Full detail for one session — ``show session id <N>``. Use the ``id`` from ``get_sessions`` to pull the complete record: timing, byte/packet counters, both halves of the flow, NAT translation, and the matched security/NAT rules.
| Parameter | Type | Description |
|---|---|---|
session_id * | integer | Session ID from get_sessions. |
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_interfaces
All network interfaces with status, IP, and zone.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_zones
Security zones. Template-aware: on a firewall this reads the local zones; on a Panorama zones live in templates, so it walks every template (reading vsys1) and tags each zone with its source ``template``. A template whose read times out is skipped and listed in ``timed_out``.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_routing_table
Active routing table entries. Routing-engine aware. On a legacy firewall this reads the virtual-router RIB; on one running the Advanced Routing Engine (PAN-OS 10.2+) it reads the ARE RIB instead and normalizes FRR's JSON into the same lean row shape, adding ``protocol``, ``vrf``, and ``logical_router``. ECMP routes fan out to one row per nexthop on both engines. Every response reports which engine answered in ``routing_engine``.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_arp_table
ARP entries learned by the firewall.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_vlans
VLAN configuration. Template-aware: reads local VLANs on a firewall; on a Panorama walks every template and tags each VLAN with its source ``template``.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_dhcp_leases
DHCP server lease assignments.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_dns_proxy
DNS proxy configuration. DNS proxy isn't modeled in pan-os-python — read via xpath. Template-aware: local on a firewall; on a Panorama it walks every template's DNS-proxy config, tagging each entry with its source ``template``. Entries promote the ``@_name`` attribute to ``name``; a template that times out is listed in ``timed_out``.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_static_routes
Static routes for a virtual router / VRF (defaults to 'default'). Routing-engine aware. On a legacy firewall this reads the named virtual router's routes (and errors if that VR doesn't exist). On a firewall running the Advanced Routing Engine there are no virtual routers — static routes live under logical routers and their VRFs — so ``virtual_router`` is matched against VRF names instead, and each row is tagged with ``vrf`` and ``logical_router``. If the name matches no VRF, every VRF is returned rather than nothing, so a legacy VR name can't produce a misleading empty result. Template-a…
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
virtual_router | string |
get_security_rules
Security policy rulebase. Default response includes the fields most relevant to "what does this rule allow/deny": zones, source/destination, application/service, action, and disabled flag — plus two derived audit booleans: ``has_inspection`` (true when a profile group is bound OR any individual L7 profile — ``virus``, ``spyware``, ``vulnerability``, ``url_filtering``, ``file_blocking``, ``data_filtering``, ``wildfire_analysis`` — is attached) and ``has_log_setting`` (true when a log forwarding profile is attached). Verbose adds the raw underlying fields (``group``, the individual profil…
| Parameter | Type | Description |
|---|---|---|
attrs | Server-side attribute filter as a JSON object: ``{field: substring}``. All conditions must match (AND). Matches case-insensitively against the field's stringified value; for list fields (source, desti… | |
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_security_profiles
All security profiles (AV, anti-spyware, vulnerability, URL, etc.). Scope-aware: on a firewall this reads vsys1; on a Panorama it walks ``shared`` plus every device group's profile tree, tagging each profile with its ``scope`` so device-group profiles aren't silently omitted. Each per-scope read is bounded; a scope that times out is skipped and listed in ``timed_out``.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_security_profile_groups
Security profile groups that bundle multiple profiles for use in rules. Scope-aware on Panorama (shared + every device group, tagged by ``scope``); reads vsys1 on a firewall.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_pbf_rules
Policy-based forwarding rules, firewall-scoped. On a Panorama target this returns an error pointing to the device-group tools rather than an empty list.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_dos_profiles
DoS protection profiles.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_qos_rules
QoS policy rules, firewall-scoped. Read via xpath since pan-os-python doesn't model QoS. Reads the firewall's local QoS rulebase. On a Panorama target that path doesn't exist (the raw query errors with "No such node"), so this returns a clean error instead — there is no Panorama device-group QoS tool; query a managed firewall directly or use get_config_xpath against the device group's QoS rulebase.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_address_objects
Address objects (IP/netmask, IP range, FQDN). Scope-aware: on a firewall this reads vsys1; on a Panorama it walks ``shared`` plus every device group, tagging each object with its ``scope`` (so device-group objects aren't silently omitted).
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_address_groups
Address groups (static and dynamic). Scope-aware on Panorama (shared + every device group, tagged by ``scope``); reads vsys1 on a firewall.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_service_objects
TCP/UDP service objects (port and protocol). Scope-aware on Panorama (shared + every device group, tagged by ``scope``); reads vsys1 on a firewall.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_service_groups
Service groups containing multiple service objects. Scope-aware on Panorama (shared + every device group, tagged by ``scope``); reads vsys1 on a firewall.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_application_filters
Application filters used in security policy. Scope-aware on Panorama (shared + every device group, tagged by ``scope``); reads vsys1 on a firewall.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_tags
Tags used to label rules and objects. Scope-aware on Panorama (shared + every device group, tagged by ``scope``); reads vsys1 on a firewall.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_nat_rules
NAT policy rules (source NAT, destination NAT, bidirectional), firewall-scoped. Reads the firewall's local NAT rulebase. On a Panorama target it returns an error pointing to the device-group tools rather than an empty list.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_userid_mappings
IP-to-user mappings learned by User-ID.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_userid_groups
User groups known via User-ID.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_userid_config
User-ID agent configuration. ``UserIdAgent`` isn't modeled in this pan-os-python version, so this reads the config via xpath. Template-aware: local on a firewall; on a Panorama it walks every template's User-ID agent config, tagging each entry with its source ``template``. A template that times out is listed in ``timed_out``.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_admins
Administrator accounts configured on the firewall.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_admin_roles
Administrator role definitions and their permission sets (firewall-scoped). Reads the firewall's vsys1 admin-role tree. On a Panorama target that path doesn't exist (the raw query errors), so this returns a redirect to ``panorama_get_admin_roles`` instead of a confusing error.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_auth_profiles
Authentication profiles (RADIUS, LDAP, TACACS+, local DB).
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_ipsec_tunnels
IPSec tunnel state and security associations.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_globalprotect_users
Currently connected GlobalProtect VPN users.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_globalprotect_config
GlobalProtect gateway and portal configuration. GP isn't modeled in pan-os-python — read via xpath. Template-aware: local on a firewall; on a Panorama it walks every template's GP config, tagging each entry with its source ``template`` and a ``kind`` (``global-protect-gateway`` / ``global-protect-portal``). A template that times out is listed in ``timed_out``.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_managed_devices
Firewalls managed by Panorama with their connection status.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_device_groups
Device groups configured in Panorama.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_device_group_hierarchy
Device group parent-child hierarchy. Sourced from ``show dg-hierarchy`` — Panorama maintains the parent-child relationships there based on the read-only hierarchy config tree (``/config/readonly/...``). The writable ``/config/devices/.../device-group`` tree pan-os-python's :class:`DeviceGroup` reads does **not** include ``parent-dg``, so we cannot derive it from ``DeviceGroup.refreshall``. Returns a flat list with each entry's ``name`` and ``parent_dg`` so the AI can reconstruct the tree client-side. Top-level device groups have ``parent_dg = None``; the walk is recursive so depth ≥ 2 tr…
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_templates
Templates defined in Panorama.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_template_stacks
Template stacks defined in Panorama.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_device_group_address_objects
Address objects defined in a Panorama device group. Per-DG counterpart to ``get_address_objects``; for Panorama-level shared objects use ``panorama_get_shared_address_objects``.
| Parameter | Type | Description |
|---|---|---|
device_group * | string | |
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_device_group_address_groups
Address groups defined in a Panorama device group. Per-DG counterpart to ``get_address_groups``; shared groups via ``panorama_get_shared_address_groups``.
| Parameter | Type | Description |
|---|---|---|
device_group * | string | |
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_device_group_service_objects
Service objects defined in a Panorama device group. Per-DG counterpart to ``get_service_objects``; shared via ``panorama_get_shared_service_objects``.
| Parameter | Type | Description |
|---|---|---|
device_group * | string | |
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_device_group_service_groups
Service groups defined in a Panorama device group. Per-DG counterpart to ``get_service_groups``; shared via ``panorama_get_shared_service_groups``.
| Parameter | Type | Description |
|---|---|---|
device_group * | string | |
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_device_group_application_filters
Application filters defined in a Panorama device group. Per-DG counterpart to ``get_application_filters``; shared via ``panorama_get_shared_application_filters``.
| Parameter | Type | Description |
|---|---|---|
device_group * | string | |
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_device_group_profile_groups
Security profile groups defined in a Panorama device group. Per-DG counterpart to ``get_security_profile_groups``; shared via ``panorama_get_shared_profile_groups``.
| Parameter | Type | Description |
|---|---|---|
device_group * | string | |
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_pre_rules
Pre-rules in a Panorama device group (pushed before local rules). ``rule_type`` selects the rulebase to read: ``"security"`` (default), ``"nat"``, ``"pbf"``, or ``"decryption"`` (SSL decryption / SSL Forward Proxy / inbound inspection policy). For decryption rules on a Panorama, this per-DG path and ``panorama_walk_all_rules`` read the same data and are both off-loop + bounded — use this for a single device group's rulebase, and ``panorama_walk_all_rules`` to sweep decryption rules across many device groups in one call. (The firewall-scoped ``get_decryption_rules`` is the wrong tool against…
| Parameter | Type | Description |
|---|---|---|
device_group * | string | |
attrs | Server-side attribute filter as a JSON object: ``{field: substring}``. All conditions must match (AND). Matches case-insensitively against the field's stringified value; for list fields (source, desti… | |
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
rule_type | string | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_post_rules
Post-rules in a Panorama device group (pushed after local rules). ``rule_type`` selects the rulebase to read: ``"security"`` (default), ``"nat"``, ``"pbf"``, or ``"decryption"`` (SSL decryption / SSL Forward Proxy / inbound inspection policy). For decryption rules on a Panorama, this per-DG path and ``panorama_walk_all_rules`` read the same data and are both off-loop + bounded — use this for a single device group's rulebase, and ``panorama_walk_all_rules`` to sweep decryption rules across many device groups in one call. (The firewall-scoped ``get_decryption_rules`` is the wrong tool against…
| Parameter | Type | Description |
|---|---|---|
device_group * | string | |
attrs | Server-side attribute filter as a JSON object: ``{field: substring}``. All conditions must match (AND). Matches case-insensitively against the field's stringified value; for list fields (source, desti… | |
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
rule_type | string | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_device_group_nat_rules
NAT rules in a Panorama device group (rulebase: 'pre' or 'post').
| Parameter | Type | Description |
|---|---|---|
device_group * | string | |
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
rulebase | string | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_count_rules_per_device_group
Rule counts per device group, per rulebase, per rule type. The cheapest call for "where do rules live in this Panorama?". Lets the AI skip empty DGs before drilling in with the per-DG list tools. Total response is roughly ``2 × |types| × |DGs|`` integers — tens of tokens per DG regardless of rule count. ``rule_types`` defaults to all four (security, NAT, PBF, decryption). Restrict it (e.g. ``["security"]``) to halve the API roundtrips when you only need one type. ``include_shared=True`` adds a ``shared`` entry covering the Panorama-level shared pre/post rulebases — i.e. the rules ever…
| Parameter | Type | Description |
|---|---|---|
firewall | ||
include_shared | boolean | |
rule_types |
panorama_walk_all_rules
Walk rules across every device group (and optionally shared). Returns a flat list where each item carries its origin — ``device_group``, ``rulebase`` (``"pre"`` / ``"post"``), and ``rule_type`` — alongside the rule's own lean projection. Replaces ``N × 2`` (or ``N × 2 × 4``) per-DG calls with a single tool invocation so the AI can run an audit query against the whole Panorama policy at once. Parameters: - ``rule_types`` — restrict to a subset (default: all four). - ``device_groups`` — restrict to specific DGs by name (default: every DG returned by ``panorama_get_device_gro…
| Parameter | Type | Description |
|---|---|---|
attrs | Server-side attribute filter as a JSON object: ``{field: substring}``. All conditions must match (AND). Matches case-insensitively against the field's stringified value; for list fields (source, desti… | |
device_groups | ||
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
include_shared | boolean | |
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
rule_types | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_log_collectors
Log collector status from Panorama.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_collector_groups
Collector group configuration in Panorama. Returns an empty list when no collector groups are configured (PAN-OS responds with "No such node" in that case).
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_push_status
Status of the most recent config push to managed devices. Retrieves push jobs from ``show jobs all`` and filters for CommitAll / push-type entries.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_commit_status
Status of recent commits (uses 'show jobs all').
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_managed_device_software
Software and content versions on managed devices. Same op-command source as ``panorama_get_managed_devices``; the lean shape exposes version-relevant fields.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_ha_status
Panorama high-availability status.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
panorama_get_admin_roles
Admin role definitions at the Panorama level. Panorama sibling of ``get_admin_roles``. Panorama keeps admin roles in the device-level ``admin-role`` tree (not under a vsys), so the per-firewall tool's vsys1 xpath misses them — this reads the Panorama-scoped path instead. Note: ``get_admins`` already works against a Panorama target — pan-os-python's ``Administrator`` model reads the appliance's own admin accounts whether it's a Firewall or Panorama — so there's no separate ``panorama_get_admins`` tool.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_traffic_logs
Recent traffic logs. Use ``query`` for server-side filtering.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
nlogs | integer | Number of log entries to retrieve and return. Default 20; max 5000. This is the only volume control for log tools — what you ask for is what you get back (after optional pattern filtering). Smaller… |
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
query | PAN-OS log query filter (e.g. "( severity eq critical )" or "( addr.src in 10.0.0.0/8 )"). Server-side filter — far cheaper than fetching all logs and filtering client-side. | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_threat_logs
Recent threat logs.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
nlogs | integer | Number of log entries to retrieve and return. Default 20; max 5000. This is the only volume control for log tools — what you ask for is what you get back (after optional pattern filtering). Smaller… |
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
query | PAN-OS log query filter (e.g. "( severity eq critical )" or "( addr.src in 10.0.0.0/8 )"). Server-side filter — far cheaper than fetching all logs and filtering client-side. | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_system_logs
Recent system logs.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
nlogs | integer | Number of log entries to retrieve and return. Default 20; max 5000. This is the only volume control for log tools — what you ask for is what you get back (after optional pattern filtering). Smaller… |
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
query | PAN-OS log query filter (e.g. "( severity eq critical )" or "( addr.src in 10.0.0.0/8 )"). Server-side filter — far cheaper than fetching all logs and filtering client-side. | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_config_logs
Recent config-change logs.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
nlogs | integer | Number of log entries to retrieve and return. Default 20; max 5000. This is the only volume control for log tools — what you ask for is what you get back (after optional pattern filtering). Smaller… |
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
query | PAN-OS log query filter (e.g. "( severity eq critical )" or "( addr.src in 10.0.0.0/8 )"). Server-side filter — far cheaper than fetching all logs and filtering client-side. | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_url_filter_logs
Recent URL filtering logs.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
nlogs | integer | Number of log entries to retrieve and return. Default 20; max 5000. This is the only volume control for log tools — what you ask for is what you get back (after optional pattern filtering). Smaller… |
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
query | PAN-OS log query filter (e.g. "( severity eq critical )" or "( addr.src in 10.0.0.0/8 )"). Server-side filter — far cheaper than fetching all logs and filtering client-side. | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_wildfire_status
WildFire cloud connection status and statistics.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_antivirus_version
Active AV / threat / WildFire signature versions.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_content_versions
Available content update versions.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_url_categories
Predefined URL filtering categories. This list is large (>200 categories) and rarely changes; consider caching the response client-side. Default pagination caps at 100.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_certificates
SSL/TLS certificates configured on the firewall.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_decryption_rules
SSL decryption policy rules (a.k.a. SSL Forward Proxy / inbound inspection), firewall-scoped. Reads the firewall's local decryption rulebase (vsys1). **This tool is for firewall targets only.** On a Panorama target it cannot see device-group rules — use ``panorama_get_pre_rules`` / ``panorama_get_post_rules`` with ``rule_type="decryption"`` instead (per device group). Pointed at a Panorama, this tool returns an error saying so rather than a misleading empty result.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_decryption_profiles
SSL decryption profiles, scope-aware across firewall and Panorama. Read from the running config via xpath — ``DecryptionProfile`` isn't in the pan-os-python object model in any release. The locations queried depend on the target: - **Firewall**: the ``vsys1`` profile tree and the ``shared`` tree. - **Panorama**: the ``shared`` tree plus **every device group's** profile tree. (The earlier version only checked shared + the firewall-shaped vsys path, so on a Panorama it returned empty even when device groups were full of profiles.) Every returned profile carries a ``scope`` f…
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_licenses
Installed licenses with feature and expiry. The activation ``authcode`` is a reusable credential and is omitted from the default response; pass ``verbose=true`` or ``fields=["authcode"]`` to include it.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_license_usage
VM license usage details (model, serial, capacity tier, mode).
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
get_config_xpath
Retrieve a specific config subtree by XPath. Use as an escape hatch when no dedicated tool covers the field you need. Default response strips PAN-OS internal flags (``@_uuid``, ``@_dirtyId``, etc.); set ``verbose=true`` to keep them. For large subtrees, prefer a more specific xpath — pulling the whole ``/config`` tree can return tens of thousands of tokens. Reads of secret-bearing subtrees (certificates, ``mgt-config`` admin accounts, authentication profiles) are refused.
| Parameter | Type | Description |
|---|---|---|
xpath * | string | PAN-OS XPath into the config tree (e.g. '/config/devices/entry[@name="localhost.localdomain"]/network'). Must start with '/config'. Angle brackets are rejected to prevent breaking out of the XML envel… |
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
run_show_command
Execute a read-only PAN-OS ``<show>`` operational command. Use when no dedicated read tool covers the data you need. Only ``<show>`` commands are accepted — anything else is rejected at the schema layer. Read-only by PAN-OS contract: show commands do not modify config or runtime state. Reads of secret-bearing config subtrees (certificates, ``mgt-config`` admin accounts, authentication profiles) via ``<show><config>`` are refused.
| Parameter | Type | Description |
|---|---|---|
command * | string | Read-only PAN-OS show command, e.g. '<show><system><info></info></system></show>'. |
firewall |
get_pending_changes
List uncommitted candidate-config changes (``show config list changes``). Answers "is anything staged, and by which admin?" — the check to run *before* ``commit``. Returns the changed entries/admins PAN-OS reports and a ``has_pending`` flag. Use ``get_config_diff`` to see *what* changed in a specific subtree.
| Parameter | Type | Description |
|---|---|---|
firewall |
get_config_diff
Diff candidate vs running config at an XPath — what's staged but not committed. Compares the candidate config (``action=get``) against the running config (``action=show``) at ``xpath`` and reports entry-level ``added`` / ``removed`` / ``modified`` names plus an ``identical`` flag. Scope the xpath to one subtree (a rulebase, an address-object node) — entries are matched by name, so a narrow xpath gives a clean diff and a bounded response. ``verbose=true`` additionally returns the full candidate and running subtrees. Reads of secret-bearing subtrees (certificates, ``mgt-config``, authentic…
| Parameter | Type | Description |
|---|---|---|
xpath * | string | PAN-OS XPath into the config tree (e.g. '/config/devices/entry[@name="localhost.localdomain"]/network'). Must start with '/config'. Angle brackets are rejected to prevent breaking out of the XML envel… |
firewall | ||
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
count_rules_by_action
Count security rules grouped by action. Lean alternative to ``get_security_rules`` when the AI only needs to know "how many allow/deny rules are there". Returns the total, a per-action breakdown, and the disabled count — typically <200 tokens vs ~10K for the full rule dump. Firewall-scoped (reads the local rulebase). On a Panorama target it returns an error pointing to the device-group walker rather than a misleading all-zero count.
| Parameter | Type | Description |
|---|---|---|
firewall |
find_rule_by_name
Search rule names across security, NAT, PBF, and decryption rules. Returns full ``.about()`` detail for each match with a ``type`` tag so the AI can tell which rulebase the match came from. Use ``rule_types`` to scope the search. Match is a case-insensitive substring on the rule's ``name`` field. Firewall-scoped (searches the local rulebases). On a Panorama target it returns an error pointing to the device-group walker rather than no matches.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | Case-insensitive substring to match against rule/object names. Use a unique fragment ('block-tor', 'web-srv') rather than a regex — the match is plain substring. |
firewall | ||
rule_types | Restrict the search to specific rule types. None (default) searches all four: security, NAT, PBF, decryption. |
find_address_object
Find address objects by name substring OR by IP membership. If ``query`` parses as an IP or CIDR (e.g. ``"10.0.0.5"`` or ``"10.0.0.0/24"``), returns address objects whose value contains or overlaps that range — covers ``ip-netmask``, ``ip-range``, and ``ip-wildcard`` types. Otherwise treats ``query`` as a case-insensitive name substring. Each match carries ``match_type`` (``"ip_membership"`` / ``"name_substring"``) and, on a Panorama, a ``scope`` (``"shared"`` or the device-group name). Scope-aware: searches vsys1 on a firewall, and ``shared`` + every device group on a Panorama (so a match…
| Parameter | Type | Description |
|---|---|---|
query * | string | Case-insensitive substring to match against rule/object names. Use a unique fragment ('block-tor', 'web-srv') rather than a regex — the match is plain substring. |
firewall |
summarize_security_policy
Top-level security policy stats in one call. Reports total/enabled/disabled rule counts, action breakdown, any-any rules (source=any AND destination=any AND application=any — worth auditing), rules with both log-start and log-end off, rules not bound to a profile group or profile setting, and the set of zones referenced. Replaces a 10K+-token full-rulebase dump with a single ~500-token snapshot. Firewall-scoped (reads the local rulebase). On a Panorama target it returns an error pointing to ``panorama_summarize_security_policy`` rather than a misleading empty summary.
| Parameter | Type | Description |
|---|---|---|
firewall |
panorama_summarize_security_policy
Same audit dimensions as ``summarize_security_policy``, scoped to a Panorama device group. Without this tool the AI has to call ``panorama_get_pre_rules`` and ``panorama_get_post_rules`` per DG and aggregate client-side — cost scales with rule count × DG count. This collapses every DG's audit into a single ~600-token response. Reports the same metrics as the firewall version (counts by action, any-any rules, logging-off, missing profiles, zones referenced) over the device group's pre + post security rulebases. When ``include_shared=True``, Panorama-level shared pre and post rules are fold…
| Parameter | Type | Description |
|---|---|---|
device_group * | string | |
firewall | ||
include_shared | boolean |
count_objects_by_type
Inventory counts across address/service/tag/application objects. Quick "what's in this firewall" snapshot. For address and service objects, breaks down by the underlying type (ip-netmask vs fqdn, tcp vs udp). Scope-aware: on a firewall this counts vsys1; on a Panorama it counts across ``shared`` and every device group (so the inventory isn't just the shared subset). A device group whose read times out is listed in ``timed_out`` and excluded from the totals.
| Parameter | Type | Description |
|---|---|---|
firewall |
get_rule_hit_counts
Per-rule hit counts and last-hit timestamps — ``show rule-hit-count``. The data the audit tools can't infer: which rules actually carry traffic. Lean view returns ``{name, hit_count, last_hit}`` per rule (``last_hit`` is epoch seconds; ``0`` = never hit since last reset); verbose adds first-hit, last-reset, and rule creation/modification timestamps for age analysis. Pair with ``unused_rules`` for a ready cleanup list.
| Parameter | Type | Description |
|---|---|---|
fields | Optional explicit list of field names to include in the response. Overrides the tool's default whitelist when set; takes precedence over verbose. Use to project a small subset of fields when you know… | |
firewall | ||
pagination | ||
pattern | Optional case-insensitive substring filter applied server-side to the name field of returned items. Returns only items whose name contains this substring. Reduces token cost dramatically vs fetching t… | |
rule_base | string | Which rulebase to read hit counts for (default 'security'). |
verbose | boolean | Return the full response from the underlying API. Default false returns only the fields most relevant to the tool's purpose, which typically reduces token use by 40-70%. Set true when you need uncommo… |
vsys | string | Virtual system name (default 'vsys1'). |
unused_rules
Security rules with zero hits — the cleanup worklist the audit tools tee up. Joins ``show rule-hit-count`` with the security rulebase to return rules that have never been hit since their last counter reset (``hit_count == 0``), annotated with ``disabled`` status and the rule-creation timestamp so you can tell a genuinely dead rule from one that's simply new. Enabled-but-unused rules are the cleanup candidates; disabled rules are excluded unless ``include_disabled=true``.
| Parameter | Type | Description |
|---|---|---|
firewall | ||
include_disabled | boolean | |
vsys | string | Virtual system name (default 'vsys1'). |