create_project_membership
Adds a user or group to a project and assigns specific roles. Use to manage project membership efficiently.
Instructions
Adds a user or group to a project with the specified roles.
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": {
"project_id": "<project_id>",
"role_ids": "<role_ids>"
},
"name": "create_project_membership"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID (numeric) or identifier (string). Required | |
| user_id | No | Numeric user ID to add. Provide either user_id or group_id | |
| group_id | No | Numeric group ID to add. Provide either user_id or group_id | |
| role_ids | Yes | Array of role IDs to assign (required) |