aws_list_key_pairs
List EC2 key pairs in a given AWS region to retrieve key_name values for launching instances with aws_run_instances.
Instructions
List EC2 key pairs registered in the given region. Use the key_name values returned here as the key_name argument 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_key_pairs"
}
}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. |