tc_add_project_user
Invite a user to a project using their email, choosing role (USER or ADMIN) and whether to notify them. Returns the member object with invited status.
Instructions
Invite a user to a project by email.
Requires TC_ENABLE_WRITE=1. The invitee gets status PENDING until they open the project.
Args: project_id: Project ID. email: Email address to invite. role: "USER" (default) or "ADMIN" — check tc_list_project_roles. notify: Send the invitation email (default True).
Returns the created member object with {"invited": true}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | USER | |
| Yes | |||
| notify | No | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |