Change an account role
set_account_roleChange the role assigned to a connected Google account—viewer, editor, scheduler, or admin—while respecting the OAuth scopes Google granted.
Instructions
Change the role assigned to a connected account. Note that a role can never exceed the OAuth scopes Google actually granted: promoting a read-only account to editor will not let it write.
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": {
"account": "<account>",
"role": "<role>"
},
"name": "set_account_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The new role. | |
| account | Yes | The account id to act on, e.g. "work" or "personal". Required whenever more than one account could apply. |