gcp_add_project_iam_binding
Grant an IAM role to a member on a GCP project. Specify project ID, role, and member (user:email, serviceAccount:email, group:email, or domain:domain).
Instructions
Grant an IAM role to a member on a GCP project. member format: 'user:email', 'serviceAccount:email', 'group:email', 'domain:domain'. role format: 'roles/editor', 'roles/viewer', 'roles/iam.serviceAccountUser', etc.
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": {
"projectId": "<projectId>",
"role": "<role>",
"member": "<member>"
},
"name": "gcp_add_project_iam_binding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | IAM role (e.g. 'roles/storage.objectViewer'). | |
| member | Yes | Member to grant the role to (e.g. 'user:alice@example.com'). | |
| projectId | Yes | The GCP project ID. |