Test Project IAM Permissions
gcp-iam-test-project-permissionsTest a list of IAM permissions against a Google Cloud project to see which ones the current caller has, returning granted or denied status for each permission.
Instructions
Test which permissions the current caller has on a Google Cloud project
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": {
"permissions": "<permissions>"
},
"name": "gcp-iam-test-project-permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project ID (defaults to current project) | |
| permissions | Yes | List of permissions to test (e.g., ["resourcemanager.projects.get", "compute.instances.list"]) |