list_affinity_groups
Lists CloudStack affinity groups and filters them by ID, name, type, account, domain, or VM to support VM placement and management.
Instructions
List affinity groups
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_affinity_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Affinity group ID | |
| name | No | Affinity group name | |
| type | No | Affinity group type | |
| account | No | Account name | |
| domainid | No | Domain ID | |
| virtualmachineid | No | VM ID to filter affinity groups |