add_user_to_project
Add a user to a project by providing user ID and project ID, and choose their role (admin, editor, or viewer).
Instructions
Add a user to a project with a project role (admin/editor/viewer). Find user IDs with list_users and project IDs with list_projects.
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": {
"projectId": "<projectId>",
"userId": "<userId>"
},
"name": "add_user_to_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project ID | |
| userId | Yes | User ID (see list_users) | |
| role | No | Role of the user inside the project | project:editor |