Share Drive File
share_drive_fileShare a Drive file with a user by email, setting their access role to reader, commenter, writer, or owner—useful for granting collaborators permission programmatically.
Instructions
Share a Drive file with a user. Role can be 'reader', 'commenter', 'writer', or 'owner'.
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": {
"file_id": "<file_id>",
"email": "<email>"
},
"name": "share_drive_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | reader | |
| Yes | |||
| file_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||