add_workspace_member
Adds an existing organization user to a workspace and assigns a role; use it to grant workspace access by user UUID.
Instructions
Add an existing org user to a workspace with a role. Requires a UUID user_id; use list_all_users to find it, and invite_user first if the person is not yet in the org.
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": {
"workspace_id": "<workspace_id>",
"user_id": "<user_id>",
"role": "<role>"
},
"name": "add_workspace_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Role in the workspace | |
| user_id | Yes | The user ID to add (must be a valid UUID from list_all_users, not an email address) | |
| workspace_id | Yes | The workspace ID to add the member to |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |