iam_policy_create
Creates a customer-managed IAM policy from a JSON or dictionary document, requiring explicit confirmation and returning the new policy's ARN.
Instructions
Create a customer-managed policy from a document (dict or JSON); needs confirm=true. Returns the new policy with its ARN.
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": {
"policy_name": "<policy_name>",
"policy_document": "<policy_document>"
},
"name": "iam_policy_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| confirm | No | ||
| description | No | ||
| policy_name | Yes | ||
| policy_document | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||