Grant a role
grant_roleGrants a role to an identity (a person, a group, a service account, an app) on a scope, until a date; only what one holds oneself, never to oneself. Access for an address in the company's domain: it waits for their first sign-in.
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": {
"who": "<who>",
"role": "<role>",
"scope": "<scope>",
"reason": "<reason>"
},
"name": "grant_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| who | Yes | An address, group:<name>, service_account:<name>, app:<project>/<service> or task:<project>/<task>. | |
| days | No | Duration, in days. | |
| role | Yes | A built-in role (owner, admin, developer, reader, access, data-reader, connection-caller, connection-writer, service-caller, data-writer) or one of the organization's (review_access { view: "roles" }). | |
| scope | Yes | {}: the organization; otherwise down to a table, or a connection. | |
| until | No | End date (included): 2026-11-30. | |
| reason | Yes | Why ("Q4 audit"): it goes to the log and is read in the sentence. | |
| organization | No | The organization. |