{"version":"0.43.0","id":"kanvas.group.member.set","operationId":"kanvas.group.member.set","title":"group member set","requiredInputs":["groupId","username","role"],"description":"Explicit group membership administration. Add/change an existing username to member/admin or remove with role:null, at current group revision. Owner cannot be removed/demoted; only owner manages admins. Removal immediately invalidates inherited session access. Concurrency: expectedRevision is OPTIONAL stale-write guard. Supplying a stale guard rejects the call; omitting optional guards does not waive authorization or other preconditions. After a conflict, inspect the operation-specific error and read current authorized state before retrying; current-value fields vary by operation.","guidance":"Explicitly add/change a group member; role:null removes. Examples are not permission.","inputSchema":{"type":"object","properties":{"groupId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"username":{"type":"string","minLength":1,"maxLength":254},"role":{"anyOf":[{"type":"string","enum":["admin","member"]},{"type":"null"}]}},"required":["groupId","username","role"],"additionalProperties":false,"examples":[{"groupId":"group-id","expectedRevision":0,"username":"example_user","role":"member"}]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"examples":[{"tool":"kanvas_call","arguments":{"operationId":"kanvas.group.member.set","arguments":{"groupId":"group-id","expectedRevision":0,"username":"example_user","role":"member"}}}],"exampleNotice":"Examples are valid syntax with illustrative IDs and source data. Substitute live authorized IDs/revisions; examples never grant consent."}