get_role_permissions
Retrieve IAM role details and permissions by supplying the role name. Optionally specify a project ID for custom roles.
Instructions
Get detailed information about an IAM role, including its permissions.
Args:
role_name: The name of the role (e.g., "roles/compute.admin" or "projects/my-project/roles/myCustomRole")
project_id: Optional project ID for custom roles. Not needed if role_name is fully qualified.
Returns:
Detailed information about the IAM role
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_name | Yes | ||
| project_id | No |