driveShareFile
Share a Google Drive file with a user by specifying their email and access role (reader, writer, or commenter) to control permissions.
Instructions
Share a Google Drive file with a user (role: reader, writer, or commenter).
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": "driveShareFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | reader | |
| Yes | |||
| file_id | Yes |