AddProjectMemberTool
Add an existing member of the account to a project with a project role. Ask the user who to add and with which role, and never guess either: call without user_id or role_name to get the people who can be added and the roles each may take (needs_input), then call again with both.
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": {
"account_code": "<account_code>",
"project_relative_id": "<project_relative_id>"
},
"name": "AddProjectMemberTool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | Database ID (primary key) of the user to add, from the needs_input list. Must be an active member of the account. | |
| role_name | No | Project role: boss, worker, developer, designer, tester, brigadier, client. Purple roles (boss, worker, developer, designer) are for active members of the primary company only. | |
| account_code | Yes | Account code (e.g., "bcp", "jchsoft") | |
| project_relative_id | Yes | Account-scoped relative ID of the project (not the database ID) |