Write Grant Data Source
write_grant_data_sourceGrants a DolphinScheduler user access to one or more data sources by assigning comma-separated data source IDs to the specified user ID.
Instructions
grantDataSource
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": {
"userId": "<userId>",
"datasourceIds": "<datasourceIds>"
},
"name": "write_grant_data_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | 用户ID | |
| datasourceIds | Yes | 数据源ID列表(字符串格式,多个数据源ID以","分割) |