create_team_membership
Add a user to a team by specifying team ID and user ID. Optionally set a role (MEMBER, ADMIN, OWNER) and auto-accept the invitation instead of leaving it pending.
Instructions
Add a user to a team.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | "MEMBER", "ADMIN", or "OWNER" (default: MEMBER) | MEMBER |
| team_id | Yes | Team ID | |
| user_id | Yes | User ID to add | |
| accepted | No | Auto-accept the invitation (default: false = pending invite) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |