Update Team Member Role
team_update_member_roleAssign a new role (admin, member, or viewer) to an existing team member in the team database, optionally scoped to a workspace.
Instructions
Update the role of an existing team member. Requires TEAM_DB_PATH.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The new role to assign | |
| author | Yes | The author ID/username to update | |
| workspace_id | No | Optional workspace isolation identifier (e.g. "alpha"). Do not use numeric project IDs or "workspace" as the key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Error code (e.g. VALIDATION_ERROR, INTERNAL_ERROR) | |
| error | No | Human-readable error message | |
| member | No | ||
| details | No | Additional error context | |
| success | Yes | ||
| category | No | Error category (validation, query, connection, internal) | |
| suggestion | No | Suggested fix for the error | |
| recoverable | No | Whether the error is recoverable | |
| aggregated_errors | No | Details of individual errors in a multi-step operation |