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}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"email": "<email>"
},
"name": "tc_add_project_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | USER | |
| Yes | |||
| notify | No | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |