share_document
Share Google Docs with specific users by granting reader, writer, or commenter permissions and optionally sending email notifications.
Instructions
Share a Google Document with a specific user.
Grants the specified permission level (reader, writer, or commenter) to the user. Optionally sends an email notification with a custom message.
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": {
"document_id": "<document_id>",
"email_address": "<email_address>"
},
"name": "share_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | The ID of the document to share | |
| email_address | Yes | Email address of the user to share with | |
| role | No | Permission role: 'reader', 'writer', or 'commenter' | reader |
| send_notification_email | No | Whether to send an email notification to the user | |
| email_message | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |