get_system_info
Retrieve system information from Palo Alto firewalls to monitor device status, check configurations, and manage network security infrastructure.
Instructions
Get system information from the Palo Alto firewall
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:93-120 (handler)Handler for the get_system_info tool: sends GET request to /Device/VirtualSystems API endpoint and returns JSON response as text content.case 'get_system_info': { try { const response = await axios.get( `${API_BASE_URL}/Device/VirtualSystems`, { headers: { 'X-PAN-KEY': API_KEY, 'Accept': 'application/json' } } ); return { content: [ { type: 'text', text: JSON.stringify(response.data, null, 2), }, ], }; } catch (error) { const axiosError = error as AxiosError; throw new McpError( ErrorCode.InternalError, `Palo Alto API error: ${axiosError.message}` ); } }
- src/index.ts:34-41 (registration)Tool registration in ListToolsRequestSchema response, defining name, description, and input schema (empty object).{ name: 'get_system_info', description: 'Get system information from the Palo Alto firewall', inputSchema: { type: 'object', properties: {}, }, },
- src/index.ts:37-40 (schema)Input schema for get_system_info tool: empty object (no parameters required).inputSchema: { type: 'object', properties: {}, },