drive_share
Share a file in Google Drive by providing the file ID, recipient email, and permission role such as reader, writer, or commenter.
Instructions
Share a file with someone in Google Drive
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>",
"email": "<email>",
"role": "<role>"
},
"name": "drive_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Permission role: reader, writer, commenter, owner | |
| type | No | Permission type: user, group, domain, anyone (default: 'user') | |
| Yes | Email address to share with | ||
| fileId | Yes | The ID of the file to share |