get_dfw_policy
Retrieve complete details of a single NSX DFW security policy by ID. Use after narrowing the policy list to get its category, sequence number, stateful setting, scope, and rule count.
Instructions
[READ] Get full details of a single DFW security policy.
Returns one policy object, not an envelope: category, sequence_number, stateful, scope and rule count. Use it once list_dfw_policies has narrowed to one id — never a display name. Then call list_dfw_rules for the rules inside.
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": {
"policy_id": "<policy_id>"
},
"name": "get_dfw_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Optional NSX Manager target from config. | |
| policy_id | Yes | Policy identifier (e.g. 'app-tier-policy'). |