Changes a non-owner member's role to admin, editor or viewer; the owner changes only through updateProjectOwner. Requires project.members.manage.
Arguments
user_idstring · uuidrequiredUser ID of the project member.
rolestringrequiredNew role: admin, editor or viewer. Owner promotion uses updateProjectOwner. One of
admin,editor,viewer.project_referencestringProject UUID, slug or domain.
Responses
curl -X POST -N "https://api.veryfront.com/mcp" \ -H "Authorization: Bearer $VERYFRONT_API_KEY" \ -H "Accept: application/json, text/event-stream" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "veryfront__update_project_member", "arguments": { "user_id": "00000000-0000-0000-0000-000000000000", "role": "admin" } }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"user_id\":\"00000000-0000-0000-0000-000000000000\",\"email\":\"string\",\"name\":\"string\",\"avatar_src\":\"string\",\"role\":\"owner\",\"source\":\"project\",\"capabilities\":[\"project.read\"]}" } ], "structuredContent": { "user_id": "00000000-0000-0000-0000-000000000000", "email": "string", "name": "string", "avatar_src": "string", "role": "owner", "source": "project", "capabilities": [ "project.read" ] } }}The tool ran; its output is result.structuredContent.