Add a project IAM role binding
gcp_add_project_iam_bindingGrant one IAM role to a member on a GCP project without overwriting existing bindings.
Instructions
Grants one role to one member on a project, preserving all existing bindings (read-modify-write against the current policy).
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": {
"role": "<role>",
"member": "<member>"
},
"name": "gcp_add_project_iam_binding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | e.g. "roles/editor" | |
| member | Yes | e.g. "serviceAccount:x@y.iam.gserviceaccount.com" or "user:a@b.com" | |
| projectId | No | GCP project id; defaults to GOOGLE_CLOUD_PROJECT env var if omitted |