update_project_member
Update a project member's roles by specifying the membership ID and a complete list of role IDs. Any roles not included are removed.
Instructions
Replace a member's roles.
The given list becomes the complete list — any role not in it is removed.
Args: membership_id: membership ID (the 'membership_id' field in list_project_members), not the user's ID. role_ids: new, complete list of role IDs.
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": {
"membership_id": "<membership_id>",
"role_ids": "<role_ids>"
},
"name": "update_project_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_ids | Yes | ||
| membership_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |