update_permission
Modify access levels for Google Docs by changing user permissions from reader to writer or commenter roles to control document collaboration.
Instructions
Change a permission's role.
The permission ID can be obtained from list_permissions.
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": {
"document_id": "<document_id>",
"permission_id": "<permission_id>",
"new_role": "<new_role>"
},
"name": "update_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | The ID of the document | |
| permission_id | Yes | The ID of the permission to update | |
| new_role | Yes | New permission role: 'reader', 'writer', or 'commenter' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |