drive_update_permission
Update a permission on a Google Drive file by changing its role, such as owner, writer, or reader.
Instructions
Update a permission on a Google Drive file (change role)
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_update_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | New role: owner, organizer, fileOrganizer, writer, commenter, reader | |
| fileId | Yes | The ID of the file | |
| permissionId | Yes | The ID of the permission to update |