Get project IAM policy
gcp_get_project_iam_policyFetches the full IAM policy (role bindings) for a project. Useful for auditing who has access, checking for over-permissive roles, or exporting permissions. projectId defaults to GOOGLE_CLOUD_PROJECT if omitted.
Instructions
Fetches the full IAM policy (role bindings) for a project.
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": "gcp_get_project_iam_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | GCP project id; defaults to GOOGLE_CLOUD_PROJECT env var if omitted |