run_op_command
Executes arbitrary PAN-OS operational XML commands against a firewall API, supporting custom queries and actions; commands may read or modify state, so use caution.
Instructions
[ADVANCED] Executes an arbitrary PanOS operational XML command. The command will be sent directly to the firewall API. Use with caution — the command could be read-only or state-modifying depending on its content.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"command": "<command>"
},
"name": "run_op_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | XML operational command to execute (e.g., '<show><system><info></info></system></show>') | |
| firewall | No | Target firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise. |