drive share file
drive_share_fileGrant a user or domain access to a Drive file by assigning a role; optionally notify them, with the access change audited.
Instructions
Grant a user or domain access to a Drive file. Access-control change; audited.
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>"
},
"name": "drive_share_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | reader | |
| No | |||
| domain | No | ||
| file_id | Yes | ||
| send_notification | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||