Test Resource-Specific IAM Permissions
gcp-iam-test-resource-permissionsTest which Google Cloud IAM permissions your service account has on specific resources to verify access before deployment or troubleshooting.
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 |