update_project_member
Change a project member's role (admin, editor, or viewer) by providing the project ID, member identity, and new role.
Instructions
EXPERIMENTAL — untested. Wraps PATCH /v2/projects/{id}/members/{member_id}.
NOTE (unverified assumption): 02-tools.md's contract takes identity as input
but the endpoint path uses {member_id} — no separate identity-to-member_id
lookup is documented anywhere, so identity is used directly as the
member_id path segment. This may be wrong; re-verify live.
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>",
"identity": "<identity>",
"role": "<role>"
},
"name": "update_project_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| identity | Yes | ||
| project_id | Yes |