Test Resource-Specific IAM Permissions
gcp-iam-test-resource-permissionsCheck IAM permissions on a specific Google Cloud resource by testing a list of permissions against the resource's full name. Returns which permissions the current caller has.
Instructions
Test which permissions the current caller has on specific Google Cloud resources
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": {
"resource": "<resource>",
"permissions": "<permissions>"
},
"name": "gcp-iam-test-resource-permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | Yes | The full resource name (e.g., "projects/my-project/buckets/my-bucket", "projects/my-project/zones/us-central1-a/instances/my-instance") | |
| permissions | Yes | List of permissions to test on the resource |