iam_list_policies
List AWS IAM managed policies, filtered by scope, path prefix, attachment status, and region, to inspect permissions during incident investigation.
Instructions
List IAM managed policies
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "iam_list_policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Filter by policy scope: All, AWS (AWS-managed), or Local (customer-managed) | Local |
| region | No | AWS region (defaults to configured region) | |
| maxItems | No | Maximum number of policies to return | |
| pathPrefix | No | Filter by path prefix | |
| onlyAttached | No | Only return policies attached to IAM entities |