add_workspace_member
Grant a user access to a workspace with a specific role. Requires workspace ID, user ID, and role (admin, developer, or user). Set confirm to true to execute.
Instructions
Grant a user access to a workspace.
Org admins and org billing members get automatic workspace roles and don't need to be added explicitly. workspace_billing is inherited from org-level billing role and cannot be assigned here.
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>",
"workspace_role": "<workspace_role>"
},
"name": "add_workspace_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | ||
| user_id | Yes | ||
| workspace_role | Yes | One of: ['workspace_admin', 'workspace_developer', 'workspace_user'] | |
| confirm | No | Must be true to execute. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||