Write Grant Project By Code
write_grant_project_by_codeGrants a DolphinScheduler project to a specified user by project code and user ID, enabling access management through the REST API.
Instructions
grantProjectByCode
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>",
"projectCode": "<projectCode>"
},
"name": "write_grant_project_by_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | 用户ID | |
| projectCode | Yes | 项目Code |