share_file
Grant access to a file by sharing it with a user's email address, setting a role like reader or writer.
Instructions
Share a file with another user by email address.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Permission role: 'reader', 'writer', 'commenter', or 'owner'. | reader |
| Yes | Email address of the person to share with. | ||
| file_id | Yes | The ID of the file to share. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |