view_config_node_values
Retrieve configuration values from Palo Alto firewalls using XPath queries to inspect and manage security policies, network objects, and system settings.
Instructions
View configuration node values for XPath on the Palo Alto firewall
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xpath | Yes | XPath to the configuration node |
Implementation Reference
- src/index.ts:247-260 (handler)Handler that fetches and returns the configuration node values for the given XPath using the Palo Alto firewall API.case 'view_config_node_values': { const { xpath } = request.params.arguments as { xpath: string }; const response = await this.axiosInstance.get('/config/xpath', { params: { xpath } }); return { content: [ { type: 'text', text: JSON.stringify(response.data, null, 2), }, ], }; }
- src/index.ts:159-172 (registration)Registers the 'view_config_node_values' tool including its name, description, and input schema in the list_tools response.{ name: 'view_config_node_values', description: 'View configuration node values for XPath on the Palo Alto firewall', inputSchema: { type: 'object', properties: { xpath: { type: 'string', description: 'XPath to the configuration node' } }, required: ['xpath'] } },
- src/index.ts:163-171 (schema)Defines the input schema for the tool, requiring a single 'xpath' string parameter.type: 'object', properties: { xpath: { type: 'string', description: 'XPath to the configuration node' } }, required: ['xpath'] }