drive_share
Shares Google Drive files or folders with people, groups, domains, or anyone via link, assigning access roles like reader, commenter, writer, or owner.
Instructions
Share a file/folder (Doc, Sheet, Slides, anything) with a person, group, domain, or anyone with the link.
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>"
},
"name": "drive_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | reader | |
| type | No | user | |
| domain | No | For type domain | |
| emails | No | For type user/group | |
| fileId | Yes | ||
| notify | No | Send Google's share notification email | |
| message | No | Message included in the notification email |