list_security_group_rules
Retrieve all security group rules by specifying data center and group IDs, enabling review of inbound and outbound traffic permissions.
Instructions
List all rules in a specific security group
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": {
"datacenter_id": "<datacenter_id>",
"security_group_id": "<security_group_id>"
},
"name": "list_security_group_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | nesting depth of returned objects (0-5, default 1) | |
| filters | No | server-side filters as property→value pairs (contains match); e.g. {"name":"prod","type":"INGRESS","direction":"INBOUND"} If the result is empty, retry without filters — a filter typo or mismatch silently returns nothing. | |
| datacenter_id | Yes | the ID of the data center | |
| security_group_id | Yes | the ID of the security group |