npm_org_member_set
Add a user to an npm organization or change their role to developer, admin, or owner. Existing members get their role updated, or leave as is if role omitted.
Instructions
Add a user to an org or change their role. Roles: 'developer', 'admin', 'owner'. If user is already in the org, updates the role. Omit role to keep existing role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | Organization name (with or without leading @) | |
| role | No | Role to assign | |
| user | Yes | npm username | |
| confirm | Yes | Must be literally true. Guards against accidental org membership changes. |