vmware_host_firewall
Retrieve default firewall policy and rulesets for an ESXi host, including enabled status and allowed IPs.
Instructions
Firewall of a host (equivalent of esxcli network firewall): default policy and rulesets.
Returns a structured object {host, default_policy, count, rulesets:[{key, label, enabled, all_ips_allowed, allowed_ips}]}. Toggle with vmware_host_firewall_ruleset.
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": {
"host": "<host>"
},
"name": "vmware_host_firewall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Name of the ESXi host | |
| enabled_only | No | Show only enabled rulesets |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |