aws_list_security_groups
List EC2 security groups in a specified AWS region and retrieve their group IDs for use when launching instances.
Instructions
List EC2 security groups in the given region. Use the group_id values as entries in the security_group_ids list passed to aws_run_instances.
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": {
"region": "<region>"
},
"name": "aws_list_security_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | AWS region (e.g. us-east-1). | |
| account | No | AWS account label to act in; omit for the default account. |