Delete security group rule
delete_security_group_rulePermanently removes one rule from a security group; machines with the group lose it at once. Ask the user first. When a machine gets a public URL, the platform opens that port to any address in every security group the machine has at that moment, and closes it when the URL is removed. A group attached later does not have it. Removing such a rule takes that URL offline, and removing the rule for port 22 ends SSH from outside. Get the rule id from list_security_groups (each group lists its rules).
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": {
"id": "<id>"
},
"name": "delete_security_group_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The rule to remove: an id from a group's rules in list_security_groups. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| mode | No | ||
| rule | No | ||
| error | No | ||
| status | No | ||
| deleted | No | ||
| details | No | ||
| message | No | ||
| recovery | No | ||
| validation | No | ||
| security_group_id | No |