drive_update_permission
Change a collaborator's role or revoke their access to a file by setting the permission to reader, commenter, writer, or remove.
Instructions
Change a collaborator's role, or remove their access (role 'remove').
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 | ||
| fileId | Yes | ||
| permissionId | Yes |