works_share_create
Share a My Drive folder with a user so it appears in their 'Shared with me'. Requires confirm=true; supports read-only access for My Drive only.
Instructions
Share a My Drive folder so it appears in the recipient's 'shared with me'. My Drive only (not shared drives). Requires confirm=true.
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>",
"owner_email": "<owner_email>",
"to_email": "<to_email>"
},
"name": "works_share_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notify | No | ||
| confirm | No | ||
| file_id | Yes | ||
| to_email | Yes | ||
| perm_type | No | READ | |
| owner_email | Yes |