drive_permissions_update
Update a file's sharing permissions by changing a user's role, such as from reader to writer. Supports role downgrades but not ownership transfers.
Instructions
Change an existing permission's role on a file (e.g. reader to writer). Can remove capabilities by downgrading a role. Ownership transfers are not supported. Per the Drive API: concurrent permissions operations on the same file aren't supported, only the last update is applied.
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": {
"fileId": "<fileId>",
"permissionId": "<permissionId>",
"role": "<role>"
},
"name": "drive_permissions_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | New non-owner role | |
| fields | No | Fields to return (e.g. "id,role,type,emailAddress") | |
| fileId | Yes | The file the permission belongs to | |
| permissionId | Yes | The permission to update (get it from drive_permissions_list) |