drive_share
Create share links for workspaces or files with view, comment, or edit permissions. Optionally restrict access to a specific email for added security.
Instructions
Generate a share link for a workspace or specific file. Optionally email-gate the link so only a specific person can access it. Humans open this link to view, comment, or edit files.
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": {
"workspace_id": "<workspace_id>",
"permission": "<permission>"
},
"name": "drive_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email-gate: only this email can access the link (requires email verification). Leave empty for public access. | ||
| file_id | No | Scope to a specific file (optional) | |
| max_uses | No | Maximum number of uses (optional) | |
| expires_in | No | Expiry in seconds (optional) | |
| permission | Yes | Permission level for the share link | |
| workspace_id | Yes | Workspace ID |