get_group
Retrieves a security group's membership criteria, real member count, and up to 50 effective VM members. Use after narrowing to one group ID to verify which VMs match NSX-evaluated rules.
Instructions
[READ] Get details of a security group including membership criteria and effective members.
Returns one group object: its expression rules, member_count (the group's real size), and members — an envelope holding at most the first 50 effective VirtualMachine members, whose truncated flag says whether more were withheld. Report member_count as the size; counting members.items reports the sample instead. Use it once list_groups has narrowed to one id; membership is evaluated by NSX, so a tag written with apply_vm_tag may take seconds to appear.
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": {
"group_id": "<group_id>"
},
"name": "get_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Optional NSX Manager target from config. | |
| group_id | Yes | Group identifier (e.g. 'web-tier-vms'). |