get_config_xpath
Retrieve any portion of the Palo Alto Networks configuration by specifying its XPath, enabling read-only inspection of specific config elements.
Instructions
[READ-ONLY] Retrieves configuration at a specific XPath location. This is a flexible read tool for querying any part of the PanOS configuration tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xpath | Yes | XPath to the configuration element (e.g., '/config/devices/entry[@name="localhost.localdomain"]/network') | |
| firewall | No | Target firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise. |