Datasource Sharing Set
datasource_sharing_setGrants viewer or editor access to a reusable datasource for specified people who lack access, with optional invitation emails and dry-run preview.
Instructions
Give people viewer or editor access to a reusable datasource.
members: [{"email": "...", "role": "viewer" | "editor"}], people without access yet; changing or removing an existing member is refused (a person does it in the Share dialog). Runs the datasource's Share dialog as a person does; notify sends Google's invitation email. Google checks each update with reCAPTCHA and may refuse a long automated series (SHARING_REJECTED). Journalled; read back. Use the exact email the user gave or confirmed; never guess an address.
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": {
"datasource_id": "<datasource_id>",
"members": "<members>",
"expected_fingerprint": "<expected_fingerprint>"
},
"name": "datasource_sharing_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notify | No | ||
| dry_run | No | ||
| members | Yes | ||
| report_id | No | ||
| datasource_id | Yes | ||
| expected_fingerprint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||