RyTask docs
MCP tools

set_member_role

Change a member's role (Admin+; last-owner protected) — a RyTask MCP tool for AI agents over the Model Context Protocol (requires the members:write permission).

View as MarkdownOpen in ChatGPTOpen in Claude

Change a member's role (Admin+; last-owner protected).

Required permissionmembers:write
Capability IDmembers.setRole
DestructiveNo

Parameters

ParameterTypeRequiredNotes
roleOWNER | ADMIN | MEMBER | GUEST | VIEWERyes
userIdstring (uuid)yes

Input schema (JSON Schema)

{
  "type": "object",
  "properties": {
    "role": {
      "type": "string",
      "enum": [
        "OWNER",
        "ADMIN",
        "MEMBER",
        "GUEST",
        "VIEWER"
      ]
    },
    "userId": {
      "type": "string",
      "format": "uuid"
    }
  },
  "required": [
    "role",
    "userId"
  ],
  "additionalProperties": false
}

Access control

A call succeeds only when the personal access token's scopes and the holder's role both allow members:write (effective permission = scope ∩ role, default-deny). The tool runs inside the token owner's organization — tenancy is never a parameter.

On this page