iam_get_role_details
Retrieve an IAM role's trust policy and attached policies to inspect permissions, verify access, and troubleshoot role configuration issues.
Instructions
Get detailed information about an IAM role including trust policy and attached policies
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": {
"roleName": "<roleName>"
},
"name": "iam_get_role_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | AWS region (defaults to configured region) | |
| roleName | Yes | The name of the IAM role |