Switch to per-person credentials
set_datasource_credential_modeMake each person bring their own credentials to a service datasource: credential_mode per_user is the only value. People who have not connected theirs are asked to before their next run. A shared sign-in that records no person is removed; each person, you included, then connects their own. An administrator shares one account with every user from the datasource page in Admin, never through MCP. For a Custom datasource running on a card's connection, this changes only the credentials it declares itself; the card's connection changes on the card. A credential never passes through this conversation. Requires an Administrator and the project's datasource-management grant.
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>",
"credential_mode": "<credential_mode>"
},
"name": "set_datasource_credential_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datasource_id | Yes | The service datasource UUID | |
| credential_mode | Yes | per_user: each person brings their own credentials. Sharing one account with every user is chosen on the datasource page in Admin |