Add Team Member
team_add_memberAdd a member with an admin, member, or viewer role, optionally with a display name and workspace; the first user becomes admin when the team database is empty. Requires TEAM_DB_PATH.
Instructions
Add a new member to the team with a specific role. Bootstraps the first user as admin if table is empty. Requires TEAM_DB_PATH.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "team_add_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | The role to assign (admin, member, viewer) | |
| author | No | The author ID/username to add | |
| display_name | No | Optional display name | |
| 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 | |
| message | No | ||
| 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 |