add_tag
Creates a tag object in PAN-OS candidate configuration to label rules, objects, and other elements; commit the change to activate it.
Instructions
[MODIFIES CONFIG] Creates a tag object. Tags can be applied to rules, objects, and other configuration elements. Staged in candidate config — requires 'commit' to activate.
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": {
"name": "<name>"
},
"name": "add_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Tag name | |
| color | No | Tag color (color1=Red, color2=Green, color3=Blue, color4=Yellow, color5=Copper, color6=Orange, color7=Purple, color8=Gray, color9=Light Green, color10=Cyan, color11=Light Gray, color12=Blue Gray, color13=Lime, color14=Black, color15=Gold, color16=Brown) | |
| comments | No | Optional comments | |
| firewall | No | Target firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise. |