projectman__AddMemberV4
Adds a user as a project member, including cross-tenant users by supplying tenant and project identifiers plus an optional role ID.
Instructions
[PROJECTMAN] 添加项目成员,可以添加跨租户成员
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": {
"domain_id": "<domain_id>",
"project_id": "<project_id>",
"user_id": "<user_id>"
},
"name": "projectman__AddMemberV4"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_id | No | '用户在项目中的角色ID' | |
| user_id | Yes | 用户32位uuid | |
| domain_id | Yes | 租户id | |
| project_id | Yes | devcloud项目的32位id | |
| domain_name | No | 租户名称(跨租户添加用户时,填写正确的租户名称,可将未授权的租户主动授权,将用户添加为项目成员) |