iam_inline_policy_get
Retrieve an inline IAM policy for a user, group, or role and return its policy document as JSON for access reviews and troubleshooting.
Instructions
Show one inline policy of a user, group or role, with its document as JSON.
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>",
"policy_name": "<policy_name>"
},
"name": "iam_inline_policy_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_name | Yes | ||
| principal_name | Yes | ||
| principal_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||