get_drive_shareable_link
Retrieve a Google Drive item's shareable link and current permissions without changing sharing settings.
Instructions
Fetch the webViewLink and current permissions for a Drive item.
Read-only — does NOT change sharing. To modify sharing use manage_drive_access. For a fuller permissions audit use get_drive_file_permissions. Requires the drive.readonly OAuth scope.
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": {
"user_google_email": "<user_google_email>",
"file_id": "<file_id>"
},
"name": "get_drive_shareable_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | The user's Google email address (authenticated account). | |
| file_id | Yes | Drive file or folder ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |