iam_attached_policy_list
List managed IAM policies attached to a user, group, or role, returning policy names and ARNs with pagination to inspect access permissions.
Instructions
List the managed policies attached to a user, group or role, with names and ARNs, plus pagination.
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": {
"principal_type": "<principal_type>",
"principal_name": "<principal_name>"
},
"name": "iam_attached_policy_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_items | No | ||
| principal_name | Yes | ||
| principal_type | Yes | ||
| continuation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||