List rules on a Scaleway IAM Policy
scaleway_iam_list_policy_rulesRetrieve the actual permission sets and scopes (project IDs or organization ID) attached to a given IAM policy. Use this to see exact grants instead of relying on generic policy details.
Instructions
Get the actual rules (permission sets + scope, each as project_ids or organization_id) attached to a Policy. Use this, not scaleway_iam_get_policy, to see what a policy really grants.
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_id": "<policy_id>"
},
"name": "scaleway_iam_list_policy_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_id | Yes |